API Credentials

Generate Access Token

To get an access token, post your client_id and client_secret. The request responds with an access token, which is valid for 24 hours. Pass the token as the Authorization header with Bearer appended before the token, e.g. Bearer {access_token}.

Request
Request Body schema: application/json
client_id
string

the client id for your (live or test) account

client_secret
string

the client secret for your (live or test) account

Responses
200

An access token has been granted

post/oauth/token
Request samples
application/json
{
  • "client_id": "test_clientId",
  • "client_secret": "test_clientSecret"
}
Response samples
application/json
{
  • "access_token": "string"
}