Hey folks,
Running into a wall with the Analytics Conversations Aggregates API. I’m trying to pull conversation counts for a specific queue over the last 24 hours, broken down by 15-minute intervals. The request hits without a 4xx or 5xx error, but the data array in the response is completely empty. I’ve verified the queue ID and the date range, and I can see the data in the UI, so it’s not a permissions issue.
Here’s the payload I’m sending to POST /api/v2/analytics/conversations/aggregates:
{
"groupBy": [
"interval"
],
"metrics": [
"conversationCount"
],
"entities": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"type": "queue"
}
],
"interval": "PT15M",
"dateFrom": "2023-10-27T00:00:00.000Z",
"dateTo": "2023-10-28T00:00:00.000Z",
"selectorType": "queue"
}
The response looks like this:
{
"pageSize": 100,
"page": 1,
"total": 0,
"data": []
}
I’ve tried switching dateFrom and dateTo to a wider range, but still nothing. Is there a specific filter or metric requirement I’m missing for custom intervals? The docs are a bit vague on this edge case.