Overview
List endpoints return paginated results using cursor-based pagination. This provides stable, efficient pagination even when data is being added or removed.Query parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
limit | integer | 25 | Number of items per page (max 100) |
cursor | string | — | Cursor from next_cursor in a previous response |
Response format
List responses follow a consistent format:| Field | Description |
|---|---|
object | Always "list" |
data | Array of resource objects |
has_more | true if there are more pages |
next_cursor | Cursor to pass as the cursor parameter for the next page. null if no more pages. |
Fetching all pages
Sorting
List endpoints support sorting withsort and order parameters:
| Parameter | Values | Default |
|---|---|---|
sort | created_at, updated_at, name, scan_count | created_at |
order | asc, desc | desc |
Sorting is available on the List QR Codes endpoint. Other list endpoints return results sorted by
created_at descending.
