Trying to build a custom interval report for conversation aggregates using the Analytics API v2. I’m hitting /api/v2/analytics/conversations/aggregates with a GET request. The query parameters look correct based on the docs, but the response body always comes back with an empty data array. No error code either, just 200 OK with no results. Here’s the payload I’m sending:
GET /api/v2/analytics/conversations/aggregates?dateFrom=2023-10-01T00:00:00.000Z&dateTo=2023-10-01T23:59:59.999Z&interval=PT1H&groupings=queueId&metrics=answerRate
The queueId is valid, verified via the Queue API. I’ve also tried removing the interval to get a single aggregate point, still nothing. Checked the SDK wrapper too, same result. Is there a specific permission scope missing beyond analytics:conversation:view? The org has data, manual reports in the UI show numbers for this period. Feels like a filter mismatch or a subtle param issue. Any ideas what I’m missing?