Basics
Pagination
Learn about pagination and how to use them.
All resources that use list API methods use page-based pagination.
Request Parameters
The following query parameters should be included in the request:
page
number
default: "none"requiredThe page number to retrieve (starting from 1)
page_size
number
default: "10"The number of items to return per page (maximum 100)
Meta Object Properties
The API response will include a meta
object containing pagination information:
current_page
number
requiredThe current page number
page_size
number
requiredThe number of items per page
total_items
number
requiredThe total number of items across all pages
total_pages
number
requiredThe total number of pages
next_page_url
string
URL for the next page (if available)
previous_page_url
string
URL for the previous page (if available)
first_page_url
string
requiredURL for the first page
last_page_url
string
requiredURL for the last page
Best Practices
- Use
page
andpage_size
query parameters when making requests to list endpoints. - Respect the maximum
page_size
limit of 100 items per page. - Use the provided URLs in the meta object for navigation between pages.
next_page_url
orprevious_page_url
might be null.
Limitations
- The maximum allowed
page_size
is 100 items per page. - If a
page_size
greater than 100 is requested, the API will return an error.