Update Lead
Leads
Update Lead
Update an existing lead
PATCH
Update Lead
Update an existing lead. Matches leads by
* At least one of
id, email, or phone (in that priority order).
At least one identifier (id, email, or phone) is required.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
id | string | No* | Lead ID (highest priority match) |
email | string | No* | Lead email (second priority match) |
phone | string | No* | Lead phone (third priority match) |
status | string | No | New status: qualified, won, or lost |
changedTo | string | No | Legacy alias for status (same values) |
value | number | string | No | Lead value (strings are auto-converted to numbers) |
note | string | No | Note to attach to the lead |
lossReason | string | No | Reason for loss (only used when status is lost) |
id, email, or phone is required.
When both status and changedTo are provided, status takes precedence.
When matching by email or phone, multiple leads may match. If your organization settings allow bulk updates, all matching leads are updated. Otherwise, a 409 CONFLICT error is returned.
Example Request
Example Response
Error Responses
| Status | Code | Description |
|---|---|---|
| 400 | VALIDATION_ERROR | Invalid JSON or missing identifier |
| 401 | UNAUTHORIZED | Missing or invalid API key |
| 404 | NOT_FOUND | No lead found matching the provided identifiers |
| 409 | CONFLICT | Multiple leads match; provide a more specific identifier |
| 500 | INTERNAL_ERROR | Server error |
Authorizations
API key for authentication
Body
application/json
Lead update data. At least one of id, email, or phone is required.
At least one of id, email, or phone is required as an identifier.
Lead ID (highest priority match)
Example:
"lead_abc123"
Lead email (second priority match)
Example:
"john@example.com"
Lead phone (third priority match)
Example:
"+1234567890"
New status. Takes precedence over changedTo if both are provided.
Available options:
qualified, won, lost Example:
"won"
Legacy alias for status (same values).
Available options:
qualified, won, lost Example:
"won"
Lead value. Strings are auto-converted to numbers.
Example:
5000
Note to attach to the lead
Reason for loss (only used when status is lost)