Hitting the NICE CXone /api/v2/agents/states endpoint to check login status from our Kotlin service, but the response body always comes back with an empty array [] even though the agent is clearly logged in via the UI. We’re using a valid OAuth2 token with agent:read scope.
- Endpoint:
GET /api/v2/agents/states - Status:
200 OK - Payload:
{"states": []} - Tried filtering by
userIdanddivisionIdwith no change.
Is there a specific scope or query param missing here?