List endpoints return results in pages. Every list response has the same shape: a data array and a meta object describing the page.
Parameters
Response shape
totalCount — total items matching the query across all pages.
totalPages — ceil(totalCount / pageSize). You’ve reached the end when page >= totalPages.
Iterating every page
Request pages until you’ve seen totalPages:
Use the largest pageSize (100) to minimise round trips, and combine it with filters like search, status, or campaignId to narrow results before paging.