Hitting a 413 error when pushing a 90-day interaction query to the Analytics API. The payload hits 1.2MB. Breaking the date range into 30-day chunks works, but feels clunky. Is there a pagination token or a way to batch this server-side without manually slicing the start/end dates in the request body? Here’s the failing snippet:
const payload = {
dateFrom: '2023-10-01T00:00:00.000Z',
dateTo: '2023-12-31T23:59:59.999Z',
viewId: 'interactions',
groupBy: ['routingQueueId']
};