Update a campaign
update_campaignEdit a campaign's settings. A draft accepts every setting; a scheduled or paused campaign accepts name, from_number_ids, calling windows and zone, retry policy, concurrency, ends_at and language (and scheduled_start_at while scheduled). A running campaign accepts no edits until it is paused. Returns the campaign and the list of changed fields.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"campaign_id": "<campaign_id>"
},
"name": "update_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| ends_at | No | ||
| purpose | No | ||
| agent_id | No | ||
| contacts | No | Replacement audience, created as a new list inside the edit (drafts only). | |
| language | No | ||
| time_zone | No | IANA time zone (default UTC), matched and stored like a contact's time_zone: ignoring case, another spelling of a zone stored as the zone it names, an offset such as UTC-5 refused. | |
| campaign_id | Yes | ||
| retry_policy | No | ||
| consent_basis | No | ||
| max_callbacks | No | How many call-backs one contact may be granted in this campaign. A request beyond it finishes the contact with skip_reason callback_limit_reached. Omitting it keeps the stored value. | |
| time_zone_mode | No | ||
| calling_windows | No | ||
| contact_list_id | No | ||
| from_number_ids | No | ||
| max_concurrency | No | ||
| organization_id | No | Optional. Defaults to the authenticated workspace; when supplied it must be that workspace's id. | |
| followup_context | No | What a follow-up call (a retry or a call-back) is told about the previous conversation with the contact. summary: its summary reaches the call as the built-in variables campaign.previous_summary and campaign.previous_follow_up; campaign.previous_summary_status says whether there is one. Every campaign call carries campaign.call_kind (first_contact, retry, callback or reopened). | |
| contact_list_name | No | ||
| scheduled_start_at | No | ||
| contact_list_source | No | How the replacement audience was collected; recorded on the new list. Defaults to csv. | |
| followup_transcript | No | Free-form AI agents only: a follow-up call (a retry or a call-back) is given the previous conversation's transcript, newest turns first, at most 4,000 characters, as quoted data at the end of its prompt. Not given on a workflow agent or Eleven Realtime, on a call with a keypad variable, or when the earlier call held a value back or keyed one. Independent of followup_context. Omitting it keeps the stored value. | |
| retry_policy_preset | No | ||
| reserved_concurrency | No |