Pagination
Use cursor-based pagination on Clics API list endpoints to page through projects, funnels, sessions, and other resources.
List endpoints such as GET /v1/projects and GET /v1/projects/{project_id}/sessions support cursor pagination.
Parameters
| Parameter | Description |
|---|---|
limit |
Max items per page (default varies by endpoint) |
cursor |
Opaque cursor from the previous response |
Example
curl "https://api.clics.dev/v1/projects?limit=20" \
-H "Authorization: Bearer YOUR_API_KEY"
Response includes a cursor field when more results are available:
{
"data": [...],
"cursor": "eyJ..."
}
Pass cursor on the next request:
curl "https://api.clics.dev/v1/projects?limit=20&cursor=eyJ..." \
-H "Authorization: Bearer YOUR_API_KEY"
Stats pagination
The Stats query endpoint uses pagination in the request body. See the Stats operations in the API reference.