Trying to get a token from CXone using client_credentials. My endpoint is /api/auth/v1/token. I’m sending the grant type, client ID, and secret in the body as per docs. Response is 401 Unauthorized. Here is the payload:
grant_type=client_credentials&client_id=myId&client_secret=mySecret
I checked the credentials in the portal. They look correct. The app is set for server-to-server auth.
- C# HttpClient used
- Content-Type: application/x-www-form-urlencoded
- No proxy issues
What am I missing?