Skip to main content
POST
Exchange client credentials for an access token.

Body

application/x-www-form-urlencoded

OAuth 2.0 client-credentials token request (form-urlencoded).

client_id
string
required

The API key's client id.

Example:

"aB3xY7..."

client_secret
string
required

The API key's client secret.

Example:

"s3cr3t..."

grant_type
enum<string>
required

OAuth 2.0 grant type.

Available options:
client_credentials
Example:

"client_credentials"

Response

Access token issued.

OAuth 2.0 client-credentials token response.

access_token
string

The signed RS256 bearer access token.

Example:

"eyJhbGciOiJSUzI1NiIsImtpZCI6..."

expires_in
integer<int64>

Token lifetime in seconds.

Example:

86400

token_type
string

Always "Bearer".

Example:

"Bearer"