Skip to main content

Leads

Create, import, read, and update CRM leads. All endpoints require a valid Bearer JWT and are scoped to the token's project_id. See Add Leads for a full request/response walk-through.

Endpoints​

MethodPathDescription
POST/api/leads/addCreate one or more leads. See Add Leads.
POST/api/leads/importBulk-import leads (e.g. from a spreadsheet).
POST/api/leads/import/previewPreview an import before committing.
GET/api/leads/check-mergeableDetect leads that can be merged (duplicates).
POST/api/leadsList / query leads in the project (filters in the body).
GET/api/leads/{lead_id}Fetch a single lead by ID.
PUT/api/leads/{lead_id}Update a lead.
POST/api/leads/testCreate a test lead.
GET/api/leads/testList test leads.

Notes​

Legacy note endpoints attached to leads. Prefer note activities (see Activities) for new work.

MethodPathDescription
POST/api/leads/notesAdd a note to a lead.
PUT/api/notes/{note_id}Update an existing note.

Opportunities & Pipelines​

MethodPathDescription
GET/api/leads/{lead_id}/opportunitiesList opportunities for a lead.
GET/api/opportunity-statusesList opportunity statuses.
GET/api/pipelinesList sales pipelines.