List / search leads
Returns leads for the authenticated customer. Requires the public_api:leads:read scope. Use sort_by=updated_at&sort_dir=asc with cursor for stable incremental polling.
Authorizations
Admin-issued Personal Access Token, e.g. Authorization: Bearer mega_<64 hex>. The key carries scopes (public_api:leads:read, public_api:leads:write, public_api:webhooks:manage) and is locked to one customer.
Headers
The customer this request acts on. Must match the customer your key is locked to.
Query Parameters
Filter by lead status (e.g. active, won, lost, nurture, archived).
Filter by current pipeline stage id.
Free-text match on name / email / phone (phone-format-agnostic).
Only leads created at/after this ISO-8601 timestamp.
Only leads updated at/after this ISO-8601 timestamp.
created_at, updated_at, last_interaction_at asc, desc Filter by the reserved lead_line custom field.
buyer, seller When true, include a custom_fields object on each lead.
Opaque keyset cursor from a previous response's next_cursor. Only valid with the same sort_by/sort_dir.
1 <= x <= 100Offset paging (back-compat). Prefer cursor for incremental polling.
x >= 0