Skip to main content

Summary

List endpoints use page and limit. Use page, count, and total in the response to fetch the next page.

Parameters

curl -X GET "https://api.sanka.com/v1/public/orders?page=1&limit=50" \
  -H "Authorization: Bearer <access_token>"
  • page: page number
  • limit: items per page

Reading responses

{
  "data": [ ... ],
  "page": 1,
  "count": 50,
  "total": 240,
  "message": "success"
}
If page * count < total, there are more pages to fetch.