Pagination
Collection endpoints use page-based pagination.
| Parameter | Default | Range |
|---|---|---|
page | 1 | >= 1 |
limit | 20 | 1–100 |
Example:
http
GET /customers?page=2&limit=50Response metadata:
json
{
"meta": {
"page": 2,
"limit": 50,
"total": 186,
"total_pages": 4
}
}Use meta.total_pages rather than calculating the final page from the current array length.