Authorization
How to authenticate to the Provisioning API
Last updated
How to authenticate to the Provisioning API
Last updated
All API requests must be authenticated. To get authorized, you must include a valid access token in the Authorization header:
First, you need to get your Provisioning API credentials. To do that, head over to the Dashboard, click on your user avatar in the upper right of the page to access your profile menu, and select Provisioning API from the dropdown:
On the next page you can find and copy to clipboard your Provisioning API credentials (client ID and client secret):
To get a valid access token you need to send a POST
request to the following endpoint, providing the arguments listed in the table below:
Body parameter | Type | Required | Description |
---|---|---|---|
| String | Required |
|
| String | Required | Your |
| String | Required | Your |
The following request tries to get an access token for the Provisioning API:
Where {{your_client_id}}
and {{your_client_secret}}
are the credentials you just got from the Dashboard. You can now use the access_token
you get in the response to perform authenticated requests to the Provisioning API (until it expires).
Once you got your credentials, you can also leverage our JS Auth library to get an access token for the Provisioning API.