The Management API implements a standard pagination scheme for all GET collection endpoints. This allows you to specify which page you’re on and obtain details about the entire collection.

Request URL Parameters

You can utilize the following URL parameters to influence the response:

ParameterTypeDefaultDescription
pagenumber1Designates which page of results to return. Always starts at 1. If 0 is specified, it defaults to 1.
per_pagenumber25 (max 100)Determines the number of results on each page. It can’t exceed 100.
orderasc or descdescOrganizes the results based on their creation time, either ascending or descending.

Response Pagination Data

Each response for a collection request includes a pagination object containing:

FieldTypeDescription
total_recordsnumberTotal records in the collection.
per_pagenumberRecords on each page.
prev_pagenumberThe previous page number, or null for the first page.
pagenumberThe current page number.
next_pagenumberThe next page number, or null if it’s the last page.
last_pagenumberThe number of the last page with records.

Note: The response body may also contain a next field, presenting a fully-qualified URL to the next set of results. This field is being phased out in favor of the pagination object but remains present for now.