Trying to pull agent state history for the last 24 hours via the CXone Reporting API v2. The query keeps failing with a 400 Bad Request, and the error payload isn’t helpful.
Here’s the query I’m sending:
GET /api/v2/reporting/agents/stats?metric=state-history&interval=PT24H&dateFrom=2023-10-25T00:00:00Z&dateTo=2023-10-26T00:00:00Z
Environment specs:
- CXone tenant in Berlin
- OAuth token valid, tested with other endpoints
- Using curl for testing
Any idea what’s wrong with the query?