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 or authorization code flow.  A successful response from our identity server might look like:

HTTP/1.1 200 OK

{
  "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 be Bearer MTQ0NjJkZ.

If you get unsuccessful responses from our identity server, be sure to check the spelling (and case) of your client_id.  Also double-check your scope.  If you attempt to request scopes that you are not authorized to access, the server will reject your request.

Next: Make an API Call