Update one or more fields of an existing lead. Only the fields you provide will be changed; all other fields remain unchanged.
Path Parameters
The unique identifier of the lead to update
Body Parameters
Move the lead to a different campaign by providing the new campaign ID
Update the lead’s phone number (will be automatically formatted to E164 standard)
Set the lead status. Valid values: created, completed, reached-max-retries
Update or add custom variables. These will be merged with existing variables, not replaced
Response
Success message confirming the update
{
"message": "Lead updated successfully"
}
Notes
- The lead must belong to your account
- If changing the campaign, the new campaign must also be yours
- Phone numbers are automatically validated and formatted
- Variables are merged with existing ones (partial updates are supported)
- Only these fields can be modified:
campaign_id, phone_number, status, variables
- Status field has restrictions to maintain data integrity