Skip to main content
POST
Issue an OAuth token

Body

application/x-www-form-urlencoded

Form for the client_credentials grant type.

client_id
string
required

OAuth client ID.

client_secret
string
required

OAuth client secret.

grant_type
any
required

Must be client_credentials.

scope
string

Space-separated list of scopes.

Response

OK

access_token
string
required

The access token.

expires_in
integer
required

The number of seconds until the token expires.

scope
string
required

The scopes of the token, comma-separated.

token_type
string
required

The token type. Always 'bearer' for JWT tokens.

refresh_token
string | null

A refresh token for obtaining new access tokens without re-authentication.