Pagination
All top-level API resources that support listing use the same format for pagination and the same response object.
Query parameters
Specifies the maximum number of items to return in a single response. The value must be between 1 and 100. If not specified, defaults to 20 items per page.
Specifies the starting point for the next page of results. The response will include items that come after (but not including) the object with this ID. To get the next page, use the ID of the last item from your previous request. The easiest way is to use the list object’s cursor field. If not provided, the API will return items from the beginning of the list.
The list object
All list endpoints return a standardized response object with the following structure:
An array containing the requested resource objects (e.g., users, companies). The number of items will not exceed the specified limit.
The URL to fetch the next page of results. This field is always present, as it allows clients to know how to fetch the next page if new items become available later.
The URL to fetch the previous page of results. This field is null when you’re on the first page or when there is no previous page available.