[How-To] Implementing CXone REST API Authentication

CXone uses token-based authentication. Here is how to get your token.

  1. Generate Access Keys
    In the Admin portal, generate an Access Key ID and Secret.
  2. Request a Token
    Make a POST request to your regional auth endpoint (e.g., https://cxone.niceincontact.com/auth/v3 [VERIFY]).
    curl -X POST https://cxone.niceincontact.com/auth/v3 \
         -H "Content-Type: application/json" \
         -d '{"accessKeyId": "YOUR_KEY", "accessKeySecret": "YOUR_SECRET"}'
    
  3. Use the Token
    Pass the resulting access_token in the Authorization: Bearer header for subsequent API calls.