Generate Access Tokens

To use the onOffice API, it is necessary to authenticate with an access token.

An access token is an alphanumeric string that is appended to API requests to authenticate the application to the system and to allow the transaction.

The token can be generated in the user settings of the API user (Extras-> Settings-> User). After a client ID has been generated for the user, a secret and the API token are generated for the user. Please note the secret immediately, as it will not be displayed later.

Please be sure not to share your generated secret used for the requests of the API user. If this happens accidentally be sure to generate a new secret immediately and adapt your code accordingly. If necessary, you can generate a new secret and token for the API user via the button “generate new secret and API token”.