To use the BIM.works API, you can authenticate with the username/password of your account. This is fine for some testing and development but it is advised to use API Tokens for any application connecting to BIM.works. The advantages being:
Currently an API Token is always linked to the user account that created it. API Tokens are also always linked to a specific (folder) ‣. You can create new API Tokens on a (folder) Node by going to the properties of a Node:


API Tokens are stored in the BIM.works database (salted hash of course). The name of an API Token is only there to easily identify them in the UI. You can whitelist a specific set of domains for CORS access (default is no CORS restrictions). You can also whitelist IP addresses that can use the token, you could put the IP address of your application server here.
An API Token can have read and/or write rights.
The BIM Context defines how uploaded models are to be interpreted.

After creating an API Token, you are presented with a screen where the created token can be copied to clipboard. After this screen, the API Token will never be shown again.

You can delete API Tokens by clicking on the "Delete" button. API Tokens are valid until they are deleted.