To access the CXVERSE APIs, you'll need to authenticate using a token, which is obtained with your Client ID and Client Secret
Step 1: Obtain Client Credentials
You can go to "User Management" module on your dashboard and select "API Tokens".
Click on the "Generate Token" option to obtain the credentials.
You could also contact our support team at [email protected] for enable this option if you do not see it.
Step 2: Generate API Token
Refer to the Login API documentation.
Step 3: Use the Token
Include the api_token received from the Login API in the Authorization header of every API request:
Authorization: Bearer token
Step 4: Token Expiry & Renewal
- Cache the token locally and reuse it until it expires.
- If any API request returns a
401 Unauthorizedresponse, re-authenticate using the sameclientIdandclientSecretto obtain a new token.