Calls to the API are authenticated using a token-based method. You can retrieve tokens for your account using your given credentials. We recommend that you first create a dedicated API user within the UI to carry out all API queries.
To create a token, pass a POST call to the URL detailed below. Within the call, replace the following values:
- YOUR_STACK: replace it with the actual name of your Adverity instance.
- USERNAME: replace it with the dedicated API username previously created.
- PASSWORD: replace it with the password.
curl -X POST \
All calls to the API require this token to be passed in the Authorization header:
Authorization: Token TOKEN_VALUE
Alternatively the token can be parsed as URL parameter "