The GoKart API uses pagination to efficiently manage and deliver large sets of data in smaller, more manageable portions. Instead of returning all records at once, paginated responses break the data into "pages" that contain a specified number of items. Clients can request specific pages of data and control how many items are returned per page by using the page and page_size query parameters.
Pagination Parameters
Parameter | Type | Default | Maximum | Description | Example |
| integer | 0 (first page) | N/A | Specifies which page of results to retrieve. Should be zero or positive integers. |
|
| integer | 10 | 100 | Defines the number of results returned per page. Must be a positive integer. Controls the size of each page. |
|
Request:
GET https://api.[YOUR_TENANT].getgokart.ai/api/v1/offer-wall/offers?page=0&page_size=10
Example JSON Response
{ "indexFrom": 0, "pageIndex": 0, "pageSize": 10, "totalCount": 160, "totalPages": 16, "items": [...], "hasPreviousPage": false, "hasNextPage": true }