Skip to main content
POST
Create an access token

Authorizations

Authorization
string
header
required

Use the client ID as the username and the client secret as the password.

Body

application/x-www-form-urlencoded

OAuth 2.0 client credentials request.

grant_type
any
required

The customer API supports only the client_credentials grant.

scope
string

Space-separated scopes to request. Omit this field to request all assigned scopes.

Minimum string length: 1

Response

The access token is ready.

Short-lived bearer token for customer API requests.

access_token
string
required

Bearer token to send in the Authorization header.

expires_in
integer
required

Token lifetime in seconds.

expires_at
integer
required

Token expiry as Unix time in seconds.

token_type
any
required

Token type for the Authorization header.

scope
string
required

Space-separated scopes granted to this token.