Pagination parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
cursor | string | No | - | Cursor returned from the previous page |
limit | integer | No | 10 | Number of records to return, from 1 to 10 |
First page request
Paginated response
Next page request
Use themeta.cursor value from the previous response.
End of results
When there are no more pages,hasNextPage is false.
Iterate through all pages
Best practices
- Keep the same filters and sort options while moving through pages.
- Stop requesting pages when
hasNextPageisfalse. - URL-encode cursor values when building URLs manually.
- Start from the first page again if a stored cursor no longer works.