Pagination
Learn about the process of implementing pagination for handling bulk data requests to the Unified API.
Documentation Index
Fetch the complete documentation index at: https://docs.bindbee.dev/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Any data you interact with via the Bindbee API can be paginated, and this pagination is determined by thecursor and page_size query parameters.
Sample HTTP Request
Above is an example of an interactive HTTP request using the Bindbee API to demonstrate how pagination works:Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Query Parameters
The ID of employees to fetch
"01931edf-04b6-7391-8a5c-93ac4b395316,01931edf-04c8-7649-a470-d85f6161bd1a"
The ID of managers to fetch employees for
"01931edf-04b6-7391-8a5c-93ac4b395316,01931edf-04c8-7649-a470-d85f6161bd1a"
The third-party API ID of the matching object.
"3235005483341316245"
The ID of companies to fetch employees for
"01931edf-04b6-7391-8a5c-93ac4b395316,01931edf-04c8-7649-a470-d85f6161bd1a"
Whether to include the original data Bindbee fetched from the third-party to produce these models.
false
Whether to include custom fields in the response.
false
If provided, will only return employees with this employment status.
ACTIVE, PENDING, INACTIVE, ACTIVE_EXTERNAL, INACTIVE_EXTERNAL, -, LEAVE, DECEASED, RETIRED "ACTIVE"
If provided, will only return employees for this employee number
"000000168"
The ID of groups to fetch employees for
"01931edf-04b6-7391-8a5c-93ac4b395316,01931edf-04c8-7649-a470-d85f6161bd1a"
The ID of pay groups to fetch employees for
"01931edf-04b6-7391-8a5c-93ac4b395316,01931edf-04c8-7649-a470-d85f6161bd1a"
Number of results to return per page. Maximum size is 200.
1 <= x <= 200The pagination cursor value.
If provided, only objects synced by Bindbee after this date time will be returned. Format: DateTime (ISO 8601)
"2024-02-21T21:22:12.993Z"
Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. You can also specify required fields in [] for each relation name.
"manager[first_name,last_name]"
Response
Successful Response