Pagination
List endpoints in API v2 use cursor-based pagination with a consistent shape:Query parameters
API v2 uses
pageSize. Legacy v1 list endpoints use limit instead.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Cursor pagination in API v2
{
"data": [ ... ],
"meta": {
"nextCursor": "cursor_value_or_null",
"hasMore": true
}
}
| Parameter | Type | Default | Description |
|---|---|---|---|
cursor | string | none | Cursor from the previous response (meta.nextCursor) |
pageSize | number | 30 | Items per page (max 100) |
pageSize. Legacy v1 list endpoints use limit instead.curl "https://api.heffl.com/api/v2/contacts?pageSize=25" \
-H "x-api-key: YOUR_API_KEY"
{
"data": [
{
"id": "clt_abc123",
"number": "CON001",
"firstName": "Jane",
"lastName": "Smith",
"email": "[email protected]"
}
],
"meta": {
"nextCursor": null,
"hasMore": false
}
}