Skip to main content

How to Request an Access Token

To start using Cynopsis APIs (Ares or Artemis), you must first obtain an access token from the CRM using your issued client_id and client_secret credentials via the OAuth 2.0 client_credentials grant flow. Below you will find ready-to-use code examples and tables of request parameters for both Demo and Production environments. You can try executing the code samples interactively in Mintlify by using the “Run” / “Copy” buttons.

Request Parameters

CRM Access Token Endpoints
Replace the values as follows:
  • client_id: Your assigned client ID from Cynopsis
  • client_secret: Your assigned client secret from Cynopsis
  • Select the Demo or Production URL as appropriate.

Sample Access Token Response

A successful request will return a response similar to this:
  • access_token: The string to be used in API requests as a Bearer token in the Authorization header.
  • expires_in: Validity of the token in seconds (typically 8 hours).
  • token_type: Always Bearer.

How to Use the Access Token

After obtaining the token, add it to the Authorization header for all subsequent API calls: