When configuring exports with a universal connector (like the HTTP connector or the REST connector), you will need to configure the pagination strategy used by the service you are exporting data from. For dedicated connectors that Celigo has created for the service, these settings are configured automatically, but you may need to review the API documentation for services that don't use a connector that Celigo has prebuilt for the service. The terminology associated with these paging methods isn't universal, so it may sometimes be difficult to determine which paging method to choose even after consulting the API documentation provided by the service. This article describes each paging method supported by integrator.io and also provides examples of how third-party API documentation describes each strategy.
Note
For all path values related to pagination, verify that you are using a path that matches the record structure displayed in the HTTP Response preview section. For example, in this case the path would be data.customers.pageInfo.endCursor.
The Does this API support paging? section of the edit export page allows you to configure the paging methods for any service.
Some APIs offer paging functionality in order to limit their HTTP response to a manageable size if the total set of resources is large. If the API supports pagination, then you can configure the Does this API support paging? section.
integrator.io supports the following paging methods:
- Custom relative URI
- Custom request body
- Link Header
- Next page token
- Next Page URL
- Page number parameter
- Skip number parameter
How integrator.io checks the paging complete field
Every paging method has the same three last-page fields: Override HTTP status code for last page, Path to paging complete field in HTTP response body, and Paging complete values. When integrator.io checks the paging complete field depends on the paging method.
Custom request body: integrator.io checks the paging complete field on every page response, whether or not Override HTTP status code for last page is set, and the records on the last page are imported. A boolean value in the response, such as hasMore: false, matches the value false that you enter in Paging complete values, and differences in case or surrounding whitespace don't prevent a match.
All other paging methods: integrator.io checks the paging complete field only when the HTTP status code of the response equals Override HTTP status code for last page. If that field is blank, the paging complete field is ignored and paging continues until another stop condition applies, such as an empty response or a 404 status code. If your API returns a 200 status code on the last page and signals the last page with a field in the response body, set Override HTTP status code for last page to 200. The records on that last page are imported. With any other status code, the export stops on that response and doesn't import the records in it.
Note
Starting with the 2026.11.1 release, boolean and case-variant values match for Custom request body exports. An export that was paging past such a stop value now stops earlier, so review any export whose downstream steps depended on the extra pages.
Use this paging method if the API provides an ID or token as part of a page response. This ID or token is used as part of the URL in the following request in order to retrieve the next page response.
Override relative URI for subsequent page requests: This field only needs to be set if subsequent page requests require a different relative URI than what is configured in the primary relative URI field.
Override HTTP status code for last page: Set this field if your API signals the last page with a specific HTTP status code. integrator.io stops paging when a response returns this status code; if the code isn’t 200, the records in that response aren’t imported. This field also controls when the paging complete field is checked: Path to paging complete field in HTTP response body is checked only on a response with this status code, so set it to 200 if your API returns a normal response on the last page and signals it in the body.
Path to paging complete field in HTTP respose body: This field only needs to be set if the API returns a field in the HTTP response body to indicate paging is complete. For example, if an API returns the field 'errorMessage' with the value 'No more pages' to indicate paging is done, then you would set this field to 'errorMessage' to tell integrator.io to check this field on each page response.
Paging complete values: Use this field to limit the exact values in the HTTP response body field that should be used to determine if paging is complete. For example, if an API returns the field 'errorMessage' with the value 'No more pages' to indicate paging is done, then you would set this field to 'No more pages'. To provide multiple values, use a comma-separated list.
The following services use Custom relative URI pagination. The following links to their documentation illustrate how this pagination strategy is referenced in other documentation sets:
Choose this paging method if paging is tracked by a value included in the POST request body.
Override HTTP request body for subsequent page requests: This field only needs to be set if subsequent page requests require a different HTTP request body than what is configured in the primary HTTP request body field.
Override HTTP status code for last page: Set this field if your API signals the last page with a specific HTTP status code. integrator.io stops paging when a response returns this status code; if the code isn’t 200, the records in that response aren’t imported. This field also controls when the paging complete field is checked: Path to paging complete field in HTTP response body is checked only on a response with this status code, so set it to 200 if your API returns a normal response on the last page and signals it in the body. For this paging method, the paging complete field is checked on every page whether or not this field is set.
Path to paging complete field in HTTP respose body: This field only needs to be set if the API returns a field in the HTTP response body to indicate paging is complete. For example, if an API returns the field 'errorMessage' with the value 'No more pages' to indicate paging is done, then you would set this field to 'errorMessage' to tell integrator.io to check this field on each page response.
Paging complete values: Use this field to limit the exact values in the HTTP response body field that should be used to determine if paging is complete. For example, if an API returns the field 'errorMessage' with the value 'No more pages' to indicate paging is done, then you would set this field to 'No more pages'. To provide multiple values, use a comma-separated list. For this paging method, a boolean in the response such as false matches the value false that you enter, and case or whitespace differences don't prevent a match. See How integrator.io checks the paging complete field.
How paging ends
With Custom request body paging, the export stops requesting pages in either of these cases:
-
The override body renders to nothing. When Override HTTP request body for subsequent page requests renders to an empty value for a page, integrator.io sends no request for that page and the export finishes without an error. Use this to stop on the API's own "more pages" flag by wrapping the whole request body in a condition, for example
{{#if previous_page.full_response.data.orders.pageInfo.hasNextPage}} … {{/if}}. The condition must wrap the whole body. If it wraps only part of the body (for example, the GraphQL query inside the JSON), the request is still sent with that part empty, and the API's rejection appears as an error after the last page. Manage Braintree GraphQL pagination uses this pattern. -
The paging complete field isn't in the response. When the field named in Path to paging complete field in HTTP response body isn't present in a response (for example, the path is mistyped or leaves out the top-level
data), that response is treated as the last page. The export completes after its first page, with no error and only part of the data. Match the path to the record structure shown in the HTTP response preview.
When using custom request body pagination, field values from the previous page of records inform integrator.io how to retrieve the next page of records. In such cases, the "last_record" object contains the identifier. However, if the “last_record” object doesn’t contain the required identifier, you can use the "full_response" object to retrieve the identifier to access the next page of records.
{
"requestDetails": "sampleRequestDetails",
"page": {{add previous_page.last_record.page 1}},
"pageSize": 2
}
{
"previous_page":
{
"last_record":
{
"data": [
{
"sampleField": "sampleRecord1"
},
{
"sampleField": "sampleRecord2"
}],
"page": 1,
"pageSize": 2,
"total": 100
},
"full_response":
{}
},
"connection":
{
"name": "test NCI",
"http":
{
"unencrypted":
{
"field": "value"
},
"encrypted": "********"
}
},
"export":
{
"name": "test NCI"
},
"settings":
{
"integration":
{},
"flow":
{},
"flowGrouping":
{},
"connection":
{},
"export":
{}
}
}
The following services use Custom request body pagination. The following links to their documentation illustrate how this pagination strategy is referenced in other documentation sets:
{
"DateField" : "Modified" ,
"FromDate" : "0001-01-01T00:00:00.0000000Z" ,
"ToDate" : "0001-01-01T00:00:00.0000000Z" ,
"PageSize" : 1000, "PageNumber" : 0,
"TenantToken" : "String" ,
"UserToken" : "String"
}
Choose this method if the API points to subsequent pages in the link header of the API response. When you select this paging method, by default integrator.io uses HTTP conventions to look for the next page URL within a dedicated link header value. You can include multiple URLs for page navigation (forward, back, first, last, etc.).
Override link header relation name: When the paging method is set to "Link Header", by default IO uses HTTP conventions to look for the next page url within a dedicated "link" header value. It is possible, within this link header, to include multiple URLs facilitating page navigation forward, back, or even first or last. In cases where multiple values are found, integrator.io needs to know which to use. If the API uses multiple values, you can define those values here. The conventions for these relation values include prev, next, last, and first (integrator.io defaults to next). Since some APIs may not comply with the default "next" relation, you can override it by entering the value expected by your HTTP app. For more information on link headers, see the IETF standards for web linking.
Override HTTP status code for last page: Set this field if your API signals the last page with a specific HTTP status code. integrator.io stops paging when a response returns this status code; if the code isn’t 200, the records in that response aren’t imported. This field also controls when the paging complete field is checked: Path to paging complete field in HTTP response body is checked only on a response with this status code, so set it to 200 if your API returns a normal response on the last page and signals it in the body.
Path to paging complete field in HTTP response body: This field only needs to be set if the API returns a field in the HTTP response body to indicate paging is complete. For example, if an API returns the field 'errorMessage' with the value 'No more pages' to indicate paging is done, then you would set this field to 'errorMessage' to tell integrator.io to check this field on each page response.
Paging complete values: Use this field to limit the exact values in the HTTP response body field that should be used to determine if paging is complete. For example, if an API returns the field 'errorMessage' with the value 'No more pages' to indicate paging is done, then you would set this field to 'No more pages'. To provide multiple values, use a comma-separated list.
The following services use Link Header pagination. The following links to their documentation illustrate how this pagination strategy is referenced in other documentation sets:
Choose this paging method if the API returns a token to the next page within the response body.
Path to next page token field in HTTP response body: Use this field to tell integrator.io where in the HTTP response body to find the token to use when requesting the next page of data. If the paging method is set to Next page token, integrator.io needs to be able to find the token in the HTTP response of each page in order to construct the next page request. This field lets integrator.io know where to look for the next page token. If no value is found at this path, then paging is terminated (final page reached). The format of the path is dependent on the media type (content type) of the original (first) page response.
Example JSON response path
result.paging.nextPageUrl
Example XPATH for XML path
/result/paging/nextPageUrl
Paging terminates when no URL is found at the specified path.
Override initial token value: This field only needs to be set if the initial export request should contain a specific token value.
Override relative URI for subsequent page requests: This field only needs to be set if subsequent page requests require a different relative URI than what is configured in the primary relative URI field.
Override path to next page token field for subsequent page requests: This field only needs to be set if subsequent page requests return a different response structure, and the next page token field is located in a different place than the original request.
Override path to records for subsequent page requests: This field only needs to be set if subsequent page requests return a different response structure, and the records are located in a different place than the original request.
Override HTTP status code for last page: Set this field if your API signals the last page with a specific HTTP status code. integrator.io stops paging when a response returns this status code; if the code isn’t 200, the records in that response aren’t imported. This field also controls when the paging complete field is checked: Path to paging complete field in HTTP response body is checked only on a response with this status code, so set it to 200 if your API returns a normal response on the last page and signals it in the body.
Path to paging complete field in HTTP response body: This field only needs to be set if the API returns a field in the HTTP response body to indicate paging is complete. For example, if an API returns the field 'errorMessage' with the value 'No more pages' to indicate paging is done, then you would set this field to 'errorMessage' to tell integrator.io to check this field on each page response.
Paging complete values: Use this field to limit the exact values in the HTTP response body field that should be used to determine if paging is complete. For example, if an API returns the field 'errorMessage' with the value 'No more pages' to indicate paging is done, then you would set this field to 'No more pages'. To provide multiple values, use a comma-separated list.
The following services use Next page token pagination. The following links to their documentation illustrate how this pagination strategy is referenced in other documentation sets:
Use this paging method when the API provides the complete URL to which integrator.io must make the request for getting the next page.
Path to next page URL field in HTTP response body: Use this field to tell integrator.io where in the HTTP response body to find the URL to use when requesting the next page of data.
Override HTTP status code for last page: Set this field if your API signals the last page with a specific HTTP status code. integrator.io stops paging when a response returns this status code; if the code isn’t 200, the records in that response aren’t imported. This field also controls when the paging complete field is checked: Path to paging complete field in HTTP response body is checked only on a response with this status code, so set it to 200 if your API returns a normal response on the last page and signals it in the body.
Path to paging complete field in HTTP response body: This field only needs to be set if the API returns a field in the HTTP response body to indicate paging is complete. For example, if an API returns the field 'errorMessage' with the value 'No more pages' to indicate paging is done, then you would set this field to 'errorMessage' to tell integrator.io to check this field on each page response.
Paging complete values: Use this field to limit the exact values in the HTTP response body field that should be used to determine if paging is complete. For example, if an API returns the field 'errorMessage' with the value 'No more pages' to indicate paging is done, then you would set this field to 'No more pages'. To provide multiple values, use a comma-separated list.
{{label=Next page URL pagination documentation examples}}
The following services use Next page URL pagination. The following links to their documentation illustrate how this pagination strategy is referenced in other documentation sets:
Choose this paging method if the API uses a page number parameter to paginate the results.
Override page number start index: This field only needs to be set if the export should start at a specific page number other than 0.
Path to total number of pages field in HTTP response body: Some APIs return the total number of pages available in each of their page responses. This optional field can be used as a trigger to stop making page requests. This field tells integrator.io where to find the maximum page value within each page response, and when this page count is met, no more page requests will be made. If omitted, integrator.io will continue to make requests until no resources are returned, or a 404 (not found) response is encountered.
Path to total number of results field in HTTP response body: Some APIs return the total number of resources available in each of their page responses. This optional field can be used as a trigger to stop making page requests. This field tells integrator.io where to find the total resource count within each page response, and when this resource count is met, no more page requests will be made. If omitted, integrator.io will continue to make requests until no resources are returned, or a 404 (not found) response is encountered.
Override HTTP status code for last page: Set this field if your API signals the last page with a specific HTTP status code. integrator.io stops paging when a response returns this status code; if the code isn’t 200, the records in that response aren’t imported. This field also controls when the paging complete field is checked: Path to paging complete field in HTTP response body is checked only on a response with this status code, so set it to 200 if your API returns a normal response on the last page and signals it in the body.
Path to paging complete field in HTTP response body: This field only needs to be set if the API returns a field in the HTTP response body to indicate paging is complete. For example, if an API returns the field 'errorMessage' with the value 'No more pages' to indicate paging is done, then you would set this field to 'errorMessage' to tell integrator.io to check this field on each page response.
Paging complete values: Use this field to limit the exact values in the HTTP response body field that should be used to determine if paging is complete. For example, if an API returns the field 'errorMessage' with the value 'No more pages' to indicate paging is done, then you would set this field to 'No more pages'. To provide multiple values, use a comma-separated list.
{{start input collapse count=6}}
{{label=Page number parameter pagination documentation examples}}
The following services use Page number parameter pagination. The following links to their documentation illustrate how this pagination strategy is referenced in other documentation sets:
Use this paging method if the API uses a skip-take paging mechanism (also known as offset or limit).
Override skip number start index: This field only needs to be set if the export should start at a specific skip number index other than 0.
Path to total number of pages field in HTTP response body: Some APIs return the total number of pages available in each of their page responses. This optional field can be used as a trigger to stop making page requests. This field tells integrator.io where to find the maximum page value within each page response, and when this page count is met, no more page requests will be made. If omitted, integrator.io will continue to make requests until no resources are returned, or a 404 (not found) response is encountered.
Path to total number of results field in HTTP response body: Some APIs return the total number of resources available in each of their page responses. This optional field can be used as a trigger to stop making page requests. This field tells integrator.io where to find the total resource count within each page response, and when this resource count is met, no more page requests will be made. If omitted, integrator.io will continue to make requests until no resources are returned, or a 404 (not found) response is encountered.
Override HTTP status code for last page: Set this field if your API signals the last page with a specific HTTP status code. integrator.io stops paging when a response returns this status code; if the code isn’t 200, the records in that response aren’t imported. This field also controls when the paging complete field is checked: Path to paging complete field in HTTP response body is checked only on a response with this status code, so set it to 200 if your API returns a normal response on the last page and signals it in the body.
Path to paging complete field in HTTP response body: This field only needs to be set if the API returns a field in the HTTP response body to indicate paging is complete. For example, if an API returns the field 'errorMessage' with the value 'No more pages' to indicate paging is done, then you would set this field to 'errorMessage' to tell integrator.io to check this field on each page response.
Paging complete values: Use this field to limit the exact values in the HTTP response body field that should be used to determine if paging is complete. For example, if an API returns the field 'errorMessage' with the value 'No more pages' to indicate paging is done, then you would set this field to 'No more pages'. To provide multiple values, use a comma-separated list.
The following services use Skip number parameter pagination. The following links to their documentation illustrate how this pagination strategy is referenced in other documentation sets: