Leads
The Leads API provides CRUD access to leads, plus ancillary actions for status, assignment, tags, archive/activate, convert-to-client, clone and comments.New to the API? Start with Getting started (base URL, response envelope, errors, pagination) and Authentication (API keys). Those conventions apply to every endpoint below and are not repeated here.
Identifier note: leads are addressed by their numericlead_id. Wherever{id}appears below it is thelead_id. A lead’s status is aleadstatus_id(from the lead statuses configured in the CRM).
Scope: attachments/cover image, per-user notes, activity logs, kanban position, bulk
actions and pinning are managed in-app and are not part of this API. Checklists on a lead
are handled by the Checklists API (resource_type=lead).
The lead object
List / search leads
Query parameters
Example request
Example response — 200 OK
Get a lead
200) with message “Lead retrieved successfully.”
Create a lead
Body parameters
Required client custom fields of type leads must also be supplied (by field name).
Assignment is set separately — see the assigned action.
Example request
Example response — 201 Created
Update a lead
200) with message “Lead updated successfully.”
Delete a lead
Example response — 200 OK
Change status
200) with message “Lead status updated successfully.”
Set assigned team members
assigned array is the full set — it replaces any existing assignment; an empty array
clears all.
200) with message “Lead assignees updated successfully.”
Set tags
200) with message “Lead tags updated successfully.”
Archive / activate
archive sets active_state to archived; activate sets it back to active.
Convert to client
delete_lead=yes to remove
it. A welcome email is sent only if send_welcome_email=yes. Returns the new client.
201) with message “Lead converted to client successfully.”
Clone a lead
201) with message “Lead cloned successfully.”
Comments
List comments
{ "data": [ { "id": 9, "text": "...", "creator": { "id": 1, "name": "Admin" } } ], "message": "..." }.
Add a comment
201) with message “Lead comment added successfully.”
Delete a comment
{ "data": { "id": 9 }, "message": "Lead comment deleted successfully." }.
