Pagination
List endpoints return a page of results and a cursor for the next one.
Parameters
| Parameter | Meaning |
|---|---|
limit | Page size. Default 20, at most 100. A value outside 1 to 100 is brought into range. |
cursor | The next_cursor from the previous response. Leave it out for the first page. |
Results are newest first. Pass next_cursor back as cursor to get the next page. When next_cursor is null you have reached the end.
Rules
- Treat the cursor as opaque. Its format can change; a cursor we can no longer read starts you again from the first page or is refused, depending on the endpoint.
- Filters such as
statusorcustomer_external_idare applied by the server before paging. Send the same filters with every page. - Not every list is paged. A short list, such as webhook endpoints, returns everything in
itemswith nonext_cursor. The API reference shows which parameters each list accepts.