Skip to main content
POST
Auth Token

Authorizations

Authorization
string
header
required

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
client_id
string | null

Your client ID.

client_secret
string | null

Your client secret.

refresh_token
string | null

The refresh token acquired during authentication with the client_credentials grant_type.

grant_type
string

OAuth 2.0 grant type.

Response

200 - application/json

Successful Response

Schema of the APIAccessToken, returned by the authentication or refresh token

access_token
string
required

The access token used for authenticated requests.

token_type
string
required

Type of the token.

expires_in
integer
required

Integer with the seconds that the access token will be expired in.

refresh_token
string
required

The token used to refresh the authentication and retrieve a new access token.