Overview
Endpoints that return lists of cards use page-based pagination. Results are returned in fixed-size pages and you increment the page number until you receive an empty array, which signals the end of the result set.How it works
Add apage query parameter to your request, starting at 0. Each response returns one page of results. When the response is an empty array, you have reached the end.
Fetching all cards
The following example in JavaScript loops through all pages and collects every card:Tips
- Page numbering starts at
0, not1 - An empty array (
[]) means there are no more results - Avoid requesting pages in parallel as results may overlap or skip records if cards are being modified during retrieval
