CXone uses token-based authentication. Here is how to get your token.
- Generate Access Keys
In the Admin portal, generate an Access Key ID and Secret. - 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"}' - Use the Token
Pass the resultingaccess_tokenin theAuthorization: Bearerheader for subsequent API calls.