Skip to main content
POST
Create an access token

Authorizations

Authorization
string
header
required

The client ID and secret.

Body

application/x-www-form-urlencoded
grant_type
string
required
Allowed value: "client_credentials"
client_id
string

The client ID, starting sc_, unless it is sent as HTTP Basic authentication.

Maximum string length: 200
client_secret
string

The secret, unless it is sent as HTTP Basic authentication.

Maximum string length: 200

Response

The access token.

access_token
string
required

The token to send as the bearer token.

token_type
string
required

Always Bearer.

Allowed value: "Bearer"
expires_in
number
required

Seconds until it expires.