REST endpoints support cursor-based pagination. This guide illustrates how to request paginated data from the REST Admin API and access each page of results. ## How it works When you send a request to a REST endpoint that supports cursor-based pagination, the response body returns the first page of results. If applicable, then a response header returns links to the next page and the previous page of results. You can use the links in the response header to iterate through the pages of results. ### Link header syntax Link headers use the following syntax:

The link header includes a `rel` parameter that describes the relation of the linked page to the current page of results. The value can either be `previous` or `next`. If your initial request doesn't return enough records to generate an additional page of results, then the response won't have a link header. #### Parameters The URL in the link header can include the following parameters: | Parameter | Description | |---|---| | `page_info` | A unique ID used to access a certain page of results. The `page_info` parameter can't be modified and must be used exactly as it appears in the link header URL. | | `limit` | The maximum number of results to show on the page: