Pagination

Whenever you query an endpoint that returns a list of objects, regardless of the number of objects returned, you will receive a response that includes pagination metadata.

All paginated endpoints optionally accept a single page number in the request query parameters. Paginated endpoints always return pages of 100 items per page. Pass the page=X query parameter, where X is the page number, to retrieve each page of the request result. Using page=1 will retrieve the first page of the result.

Request

GET https://api.finexio.com/v1/invoices/?page=4

Response

HTTP 200 OK
{
    "count": 482,
    "next": "https://api.finexio.com/v1/invoices/?page=5",
    "previous": "https://api.finexio.com/v1/invoices/?page=3",
    "results": [
       …
    ]
}

What’s Next