Authentication

Client IDs and Secrets can be obtained through the API Keys page within the Dash Admin application. If you do not have access to the application or key page, contact an administrator to have them generate an api key for you.

The Auth URL is [BASE_URL]/auth/token.

You will post the following 3 params as either form data or JSON to this route to authenticate.

  • client_id: [YOUR_KEY_ID]
  • client_secret: [YOUR_KEY_SECRET]
  • grant_type: 'client_credentials'

You will receive JSON as response. In a successful response you will find the key access_token with your JWT to use in further communication.

These JWTs are valid for 24 hours so you'll need to do this auth process at least daily. Depending on what your use case is you can cache these for repeated uses.

You can find an exact expiration UTC timestamp in the body of the JWT (which is just base64 encoded).

You will need to pass your daily JWT as a Authorization header in the Bearer Token style.

E.g. Authorization: Bearer [TOKEN_STRING_HERE]