Skip to main content
Skip table of contents

Client Credentials Grant

Request token by using client_credentials.

Example request

CODE
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}",
}

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

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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.