Requires the public_api:leads:read scope.
Query parameters
The response includes a next_cursor. To page forward, pass it back as cursor with 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.
Response
total is the count matching your filters (ignores cursor/offset).
custom_fields is present only when include_custom_fields=true.
- Values in
custom_fields are scalars (string | number | boolean | null).