Handling endpoints that return multiple pages of data
pagination
object is returned for paged endpoints, use the after
cursor to get the next page of results.
?after=A-789
to the request to get the next page of results.
after
cursor is always returned in the response if there are results in the current page. There are no more results if you receive an empty data array in the response.
before
cursor. For example you would ?before=A-123
to the request to get the previous page of results.
limit
parameter to control the number of records returned. The default page size is documented in the endpoint’s reference.