Updates fields on an existing lead within the specified voice campaign.
All requests require an Authorization header using Bearer token authentication:
Authorization: Bearer <api_key>
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Identifier of the voice campaign. Required.
"camp_abc123"
Lead fields to update
Phone number of the lead to update (used as identifier). Required.
"+14155552671"
Updated first name. Optional.
"Jane"
Updated last name. Optional.
"Doe"
Updated email address. Optional.
"jane.doe@example.com"
When true, marks the lead as opted out and prevents future calls. Optional.
Allowed values: true, false.
false
Updated custom key-value fields. Optional.
{ "plan": "pro" }When true, resets the lead's answered status and re-queues them for outbound calling. Only applies when the lead is currently marked as answered. Optional.
Allowed values: true, false.
true