Trying to paginate the conversation details query endpoint. I’ve got the initial request working fine, but the cursor logic feels off.
POST /api/v2/analytics/conversations/details/query
{
"dateFrom": "2023-10-01T00:00:00.000Z",
"dateTo": "2023-10-02T00:00:00.000Z",
"size": 1000
}
The response includes nextPageUri, but when I hit that URI, the dateFrom and dateTo are gone. The docs say to use the cursor, but the URI seems to handle everything. Am I supposed to just keep hitting nextPageUri until it’s null? Or do I need to manually manage the cursor string in subsequent requests? Feels like I’m missing something obvious here.