Response Shape
Every list endpoint returns a top-leveldata array and a pagination object:
Query Parameters
Fetching All Pages
To retrieve every record in a collection, loop untilhas_more is false:
Last Page Indicator
When you have retrieved all available records, the response looks like this:has_more: false and next_cursor: null together confirm you have reached the end of the result set.
The cursor value is opaque—do not attempt to parse, decode, or construct it manually. Always use the exact string returned by the API in the previous response. Modifying the cursor produces a
400 Bad Request error.Filtering and Sorting with Pagination
Most list endpoints accept additional query parameters for filtering (e.g.user_id, contact_id, created_date_gte). You can combine filters with pagination—just include all parameters in every request, including cursor pages: