Articles in this section

Manage pagination in a REST API call

The API endpoint returns 1000 results per call, but there may be occasions when your account has more than 1000 resources. To get the remaining records, use the returnednext link header value from the response headers. For example, if your initial call has more than 1000 results, you will get back the following headers:

Screenshot 2023-09-27 215301.png

To get the remaining records, use the returnednext link header and rel="next" in combination to retrieve the next page of records. In each response, use the new link and rel="next" until the link isn’t returned in the headers. To show how this would be configured in an integrator.io export, see the below setup.

Paging Method: Link header

Override link header relation name: next

Screenshot 2023-09-27 215342.png

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.