InformlyInformly

Pagination

How pagination works across Informly API endpoints

All list endpoints in the Informly API return paginated results. This keeps responses fast and predictable, regardless of how many records you have.

How it works

You control pagination with two query parameters:

ParameterDefaultRangeDescription
page11+Which page to retrieve
pageSize201–100How many items per page

Response metadata

Every paginated response includes a meta object alongside the data array:

{
  "data": [ ... ],
  "meta": {
    "total": 152,
    "page": 2,
    "pageSize": 20,
    "totalPages": 8
  }
}
FieldDescription
totalTotal number of items across all pages
pageThe current page number
pageSizeItems per page
totalPagesTotal number of pages

Use totalPages to know when you've reached the end of the results.

Tips

  • Start with the default pageSize of 20. Increase to 100 only if you need to minimize round-trips.
  • To iterate through all records, increment page until it exceeds totalPages.
  • The total count reflects all matching records, not just the current page.

Last updated on

On this page