Request Tokens

Once you have API Credentials, you can request tokens from our Identity Api.

Depending on your integration type, you will either use client credentials flow. A successful response from our identity server might look like:

HTTP/1.1 200 OK
Copy
Copied
{
  "access_token":"MTQ0NjJkZ",
  "token_type":"bearer",
  "expires_in":3600,
}
Then, in order to call the API, simply add the token_type and access_token to the Authorization header in your request. For example, given the response above, the value for the Authorization header should beBearer MTQ0NjJkZ.If you get unsuccessful responses from our identity server, be sure to check the spelling (and case) of yourclient_id. Also double-check yourscope. If you attempt to request scopes that you are not authorized to access, the server will reject your request.

Try requesting an auth token from identity server here:

Fill in the client_id, client_secret, and scope values below, then click send. For Client Credentials clients fill in "client_credentials" for the grant type and ignore the code and redirect url.

Loading...