Filter by status (active, won, lost, nurture, archived).
stageId
uuid
—
Filter by current pipeline stage id.
search
string
—
Free-text on name / email / phone (phone-format-agnostic).
created_since
ISO-8601
—
Leads created at/after this time.
updated_since
ISO-8601
—
Leads updated at/after this time.
sort_by
enum
updated_at
created_at | updated_at | last_interaction_at.
sort_dir
enum
asc
asc | desc.
lead_line
enum
—
buyer | seller (the reserved lead_line custom field).
include_custom_fields
bool
false
Include a custom_fields object per lead.
cursor
string
—
Opaque keyset cursor from a prior next_cursor.
limit
int
20
1–100.
offset
int
0
Offset paging (back-compat; prefer cursor).
Cursor pagination (recommended for polling)
The response includes a next_cursor. To page forward, pass it back as cursorwith the same sort_by and sort_dir. When there are no more pages, next_cursor is null.
A cursor is only valid for the sort it was created under. Replaying a cursor with a different sort_by/sort_dir returns 400. Cursor paging is supported for created_at and updated_at sorts.
For reliable incremental polling, use sort_by=updated_at&sort_dir=asc and keep following next_cursor; on the next poll, resume from your last cursor or use updated_since.