GET /api/v2/analytics/queues/realtime returns empty data for active queues

Hitting a wall with the realtime queue stats endpoint. I’ve got a valid bearer token and I’m hitting GET /api/v2/analytics/queues/realtime?interval=PT1H but the response body is just an empty array .

The queues are definitely active with agents logged in, yet the API isn’t returning any data. I’ve tried adding specific queueIds in the query params but get the same result. Am I missing a required header or scope?

GET /api/v2/analytics/queues/realtime?interval=PT1M&queueIds=your-queue-id


You're likely hitting a scope mismatch or the interval is too broad for real-time data. Make sure your token has `analytics:queue:view` and try narrowing the interval to `PT1M`. Also, verify the queueIds are actually active in your org.