Path Parameters
The ID of the lead to update
Body Parameters
The ID of the campaign to assign the lead to
The phone number of the lead (will be formatted to E164)
The status of the lead. Must be one of:
created
, completed
, reached-max-retries
Custom variables to merge with existing lead variables
Response
Success message indicating the lead was updated
Notes
- The lead must belong to the authenticated user
- If updating the campaign, the new campaign must also belong to the authenticated user
- Phone numbers are automatically formatted and validated
- Variables are merged with existing variables (not replaced)
- Only allowed fields can be updated:
campaign_id
,phone_number
,status
,variables
- The
status
field has restricted values for data integrity