Get API Access Token
Auth
Get API Access Token
This endpoint allows you to retrieve an API access token using your client_id and client_secret.
To authenticate:
- Click
Try it ▶ - Enter your client_id as the
Authorization.username - Enter your client_secret as the
Authorization.password
The request must include the following body parameter:
grant_type: This is always set toclient_credentials
Hit Send ▶ and the response will contain an access_token, which you can use as a Bearer token to authenticate requests to other endpoints.
{
"access_token": "ACCESS_TOKEN",
"expires_in": 3600,
"token_type": "Bearer",
"scope": "read write"
}
POST
Get API Access Token
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Body
application/x-www-form-urlencoded
Always set to 'client_credentials'
Available options:
client_credentials