Help on applying pagination in GET requests

Originally posted by Shambhu Bhujel

Hi Team

Could anyone help me on how we can pass page and limit paramaters in GET request for job material endpoint.

I tried multiple ways but no success yet.

Thanks.

Hey mate.

I don’t think there is a limit param for pagination on most endpoints.

I think the Inbox endpoint is different and has a limit param, but the rest of the API just has a cursor.

You signal to the API that you want pagination by passing “-1” as the value of the “cursor” param. Then the API returns your result with the “x-next-cursor” header containing a UUID for the next page. You then pass that UUID as your cursor param to get the next page. The last page returned has no “x-next-cursor” header.

Pagination guide here.