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}.

Note: These access tokens are meant only for backend-to-backend calls. If you are looking to authorize a web component, please see the Web Component Token API

post/oauth/token

Request

Request body

client_idstring

the client id for your (live or test) account

client_secretstring

the client secret for your (live or test) account

Example request

{
  "client_id": "test_clientId",
  "client_secret": "test_clientSecret"
}

Response

An access token has been granted

access_tokenstring

an access token to pass to our API as the Authorization header with Bearer appended before the token, e.g. Bearer {access_token}

Changes

No recorded changes to this operation across all 1 revision of this API.