Pagination
Many endpoints in the Blinksale API return collections of resources, such as lists of clients, invoices, or estimates. To make these responses more manageable, the API uses pagination to split the results into smaller chunks.How Pagination Works
For endpoints that support pagination, the following parameters can be used:Requesting Paginated Data
To request paginated data, simply include the pagination parameters in your query string:Pagination Response Structure
Paginated responses include metadata about the pagination state alongside the requested data. Here’s an example response structure:Pagination Metadata
The pagination metadata includes:Navigation Links
The response also includes helpful navigation links:Handling Pagination in Your Application
When working with paginated resources, your application should:- Make the initial request to the API endpoint
- Process the current page of results
- Check if there are more pages by looking at the
nextlink - If there are more pages and you need them, follow the
nextlink to retrieve the next page

