Update Lead
Updates an existing lead.
PUT
/api/v1/leads/{lead_id}Description
Updates one or more lead fields. The phone number, when changed, is checked for duplicates within the campaign.
Parameters
| Path param | Type | Description |
|---|---|---|
lead_id | UUID | The lead's ID. |
Request body (JSON) — all fields optional
All fields optional. Accepts any subset.
| Field | Type | Description |
|---|---|---|
first_name PUT | string | New first name. |
phone_e164 PUT | string | New phone number (checked for duplicates). |
custom_fields PUT | object | Replace the custom variables. |
statusis not supported as an update field. Status is system-managed and is changed through the Stop Lead endpoint where applicable.
Response — 200 OK
The updated Lead Object.
Errors
| Status | Detail |
|---|---|
400 | Invalid phone number. |
400 | Invalid first_name after preprocessing. |
404 | Lead not found or not in your company. |
409 | Phone already used by another lead. |