Acquiring authorization access as an operator
To authorize access as an operator, you need an application password instead of the usual TOPdesk operator credentials. The application password needs to be included in every request you send.
Prerequisites
You must have a permission group for accessing the API with REST API permission and Use application passwords permission (in the API Access permission block).
You must have an operator linked to this permission group. This operator should also have permissions for the sections of TOPdesk you want to access with the API. We recommend using a dedicated API operator account for this.
Log in to TOPdesk with the operator account you want to use for the API.
Open the User menu
in the top right hand corner.Under Application passwords, click Add to create a new application password.
Enter a name, e.g. ‘API access’, and an expiration date. If you want to keep API access for this operator account for a longer time, enter an expiration date far in the future.
Click Create.
A pop-up appears with the application password. Note that this is the only time this password is visible, you cannot look it up anymore at a later date.
Copy this password to the password field of the tool that will be used to access the API.
With the password application, you can now authorize access to TOPdesk API for operators.
remark
If later on you get the error message "User does not have permission to access the REST realm", the operator was not linked to the API permission group. Add the operator to the group and restart TOPdesk to refresh the permissions.
Tip
We advise to create Operator cards that are only used for API access. Do so by using the API Account checkbox on the Operator card. This makes sure that the account remains a free account.