Otark API
Pagination
How to paginate through results in the Otark Customer API
All query GET endpoints in the Otark API support pagination to help you manage large sets of data efficiently. The pagination mechanism uses two key parameters: page and limit.
Query Parameters
-
page: The page number to retrieve. This parameter is used to specify which page of the data you want to fetch. The default value is1. -
limit: The number of items to retrieve per page. The default value is10, and the maximum allowable value is100.
Example Request
curl -X GET "https://api.otark.com/v1/assets?limit=20&page=2" \
-H "X-Api-Key: YOUR_API_KEY"