The API supports pagination for most endpoints that return a list of items.
Our pagination is based on the cursor-based pagination method.
limit- The number of items to return per page. Default is 10.next- The cursor to start from. This is returned in thenextfield of the response.
The response will contain a next field with the cursor to the next page.
{
"data": [
{
"id": 1,
"name": "Item 1"
},
{
"id": 2,
"name": "Item 2"
}
],
"next": "eyJpZCI6Mn0=",
"timestamp": 1630000000
}The cursor is a base64 encoded string that contains the last item's id and other information needed to fetch the next page.
The cursor is returned in the next field of the response.