Legacy Dev Forum Posts

 View Only

Sign Up

pageNumber and pageCount in /api/v2/analytics/conversations/details/query response

  • 1.  pageNumber and pageCount in /api/v2/analytics/conversations/details/query response

    Posted 06-05-2025 19:18

    Sadanand_Shenoy | 2019-02-27 03:37:49 UTC | #1

    Hi,

    The /api/v2/analytics/conversations/details/query doesn't seem to return the pageNumber and pageCount in the json response. How do we know there are more conversations to fetch?

    Regards Sadanand


    anon28066628 | 2019-02-27 15:36:17 UTC | #2

    Hi Sadanand,

    For the conversations detail, you need to continue requesting pages until you get an empty response. Be aware that the performance of paging gets slower the deeper you go, and very deep paging may result in timeouts. My rule of thumb is not to go more than 10 pages deep (100 results per page). If your query has more than 1000 conversations, it's more efficient to break it into separate queries with shorter intervals.


    system | 2019-03-30 15:36:21 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 4683