Skip to main content
To ensure optimal performance when working with large datasets, our API automatically handles pagination for all GET requests. Instead of fetching all records in one go, which can be slow and resource-intensive, our system breaks the data into smaller, more manageable chunks. This approach reduces network load, improves response times, and enhances the overall user experience.
The default pagination is set to return records in patches of 15. You can control the paginated data by using the page and per_page query parameters:
  • page: Specifies which page of records to retrieve.
  • per_page: Determines how many records to return per page (with a default value of 15).

Example

To fetch the second page of employees with 20 records per page, your request would look like this:
GET /api/v2/client/employees?page=2&per_page=20