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.
Copy
Ask AI
curl --request GET \ --url 'https://app.getcensus.com/api/v1/syncs?page=1&per_page=25&order=asc' \ --header 'Authorization: <authorization>'
Each response for a collection request includes a pagination object containing:
Field
Type
Description
total_records
number
Total records in the collection.
per_page
number
Records on each page.
prev_page
number
The previous page number, or null for the first page.
page
number
The current page number.
next_page
number
The next page number, or null if it’s the last page.
last_page
number
The 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.