Skip to main content
POST
Get an access token

Body

application/x-www-form-urlencoded

The OAuth 2.0 client credentials grant, as application/x-www-form-urlencoded.

grant_type
enum<string>
required
Available options:
client_credentials
client_id
string
required

The client id Securitize issued you.

client_secret
string
required

The client secret Securitize issued you. Keep it in a secret store, never in source control.

Response

The bearer token, valid for expires_in seconds.

token_type
enum<string>
required
Available options:
bearer
access_token
string
required

The bearer token. Send it as Authorization: Bearer <access_token>.

expires_in
integer
required

Seconds until the token expires.

Example:

7200