Hitting the NICE CXone GET /api/v2/agents/states endpoint from our Python backend. Expecting the current agent’s state, but getting an empty array []. The agent is definitely logged in and handling calls. Tried adding X-G2-User-ID but no change. Is there a specific scope or header required for this endpoint?
GET https://api.nice.incontact.com/cciv2/rest/api/v2/agents/states
Status 200, just empty data.