Request token by using client_credentials.

Example request

Endpoint:
POST /api/auth/token

Headers:
Content-Type:application/json

Body: 
{
	"grant_type": "client_credentials",
	"scope": "{scopes}",
	"client_id": "{app client_id}",
	"client_secret": "{app secret}",
}
CODE

For more information on which scopes are needed for a certain endpoint, please refer to the Scopes page.

Retrieving an access token

If authentication is successful, you'll receive an access token that must be provided at any other API endpoint.

Example Response

{
	"access_token": "{your_bearer_token}",
	"token_type": "Bearer",
	"expires_in": 1800,
	"scope": "{granted scopes}",
	"refresh_token": "{your_refresh_token}"
}
CODE