Pagination
Learn how to paginate through the results of the API
Overview
All endpoints that list objects provide support for pagination. This allows you to retrieve a subset of the results at a time, making it easier to manage large datasets.
Pagination Parameters
Pagination is controlled using the following query parameters:
The number of items to return per page.
The cursor indicating where to start fetching the next set of results. It corresponds to the ID of the first item on the current page.
If not provided, the API will start fetching from the newest item.
Response Structure
The paginated response has the following structure:
Response Attributes
The list of items for the current page.
URLs to navigate to the previous and next pages.
The URL to fetch the previous page of results.
The URL to fetch the next page of results.
We advise using the next and previous links to navigate through the results directly, avoiding manual cursor calculations or URL parsing