How pagination works in the Everhour API — per-endpoint parameters, defaults, and how to detect the last page.
Pagination in the Everhour API is per-endpoint. Each endpoint that supports pagination defines its own page and limit parameters, defaults, and maximum values. Some endpoints return the full collection in a single response and accept no pagination parameters at all.
Paginated endpoints accept one or both of these query parameters:
Parameter
Type
Description
page
integer
Page number, 1-based. Default is 1.
limit
integer
Number of items per page. Defaults and maximums differ by endpoint.
Responses are bare JSON arrays. There are no response headers, no JSON envelope, and no total count field. To detect the last page, check whether the number of items returned is less than limit.
Some endpoints — including GET /clients and GET /invoices — return the full collection with no pagination support. Accounts with large collections should narrow requests using available filters rather than fetching everything at once.