Skip to navigation

Update a lead

Updates only the fields you send.

  • Notes: sending notes replaces the whole list. To add one note, read the lead, append to notes, and send the full list (only title and content per item).
  • Clearing: send marketing_attribution: null to remove attribution.
  • Contacts and companies: use contacts_update / companies_update to add or remove links without resending the rest.

Path parameters

lead_idstringRequired
Lead ID

Headers

licenseKeystringRequired
appSecretstringRequired

Request

This endpoint expects an object.
namestring or nullOptional

Lead title; null clears

emailstring or nullOptional

Lead email; omitted leaves unchanged (null does not clear)

phonesobject or nullOptional

Delta phone updates (add/update/remove), same as contacts. Omit or null leaves phones unchanged.

pipeline_idstringOptional

Move the lead to this pipeline. Without stage_id the lead moves to the pipeline’s first stage. Omitted keeps the current pipeline.

stage_idstring or nullOptional

Stage UUID within the lead’s (or the given) pipeline; null clears

lead_sourcestring or nullOptional

Origin channel; null clears

referral_sourcestring or nullOptional

Referrer; null clears

referral_idstring or nullOptional

Referral identifier; null clears

lead_scorestring or nullOptional

Score label; null clears

close_datedate or nullOptional

Expected close date; null clears

amountdouble or string or nullOptional

Deal value; null clears

currencyenum or nullOptional

ISO 4217 alpha-3 currency code for amount; null clears

descriptionstring or nullOptional

Description; null clears

owner_idstring or nullOptional

Owner user UUID; null unassigns

deal_typeenum or nullOptional

Deal type; null clears

Allowed values:
priorityenum or nullOptional

Priority; null clears

Allowed values:
tagslist of stringsOptional

Replace lead tags when set (empty list clears).

noteslist of objects or nullOptional
Replace entire notes array when set
contacts_updateobject or nullOptional

Delta operations for lead_contacts (add/remove/update labels). Omit to leave contacts unchanged. Companies linked to newly added contacts are associated automatically; unlinking contacts does not remove lead companies.

companies_updateobject or nullOptional

Delta operations for lead_companies (add/remove/update labels). Omit to leave companies unchanged.

addressesobject or nullOptional

Batch address operations: add, update, and/or remove.

custom_fieldslist of maps from strings to anyOptional

FieldCell PATCH: root entries use field_id plus value | sub_fields | items (instance_id required for existing roots; list items is authoritative). Nested cells may use instance_id only (optional field_id must match). Do not send type.

marketing_attributionobject or nullOptional

Marketing / ad attribution; omit to leave unchanged, null to clear.

Response

OK
statusstring
Response status
messagestring

Human-readable success message

statusCodeinteger
HTTP status code
codestring
Custom application status code
datamap from strings to any or list of any or string or double or boolean or nullOptional
Payload for this endpoint

Errors

422
Unprocessable Entity Error