Edit a campaign
update_campaignChange a campaign's settings and/or replace its ordered steps. Editing the steps of a running campaign needs the operator's approval when approval is on. Requires the manage_campaigns scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name. | |
| steps | No | Ordered steps. email: {type:"email", variants:[{subject, body, weight?}] or subject+body, condition?, reply_in_thread?}. wait: {type:"wait", days, business_days?}. task: {type:"task", title, due_in_days?, kind? (task|call|meeting), assignee? (human|agent), wait_for_done?}. Templates: {{first_name}} {{last_name}} {{name}} {{email}} {{title}} {{company.name}} {{company.domain}} {{fields.<key>}} {{sender.name}}, with {{var | default: "text"}}. | |
| window | No | ||
| stop_on | No | ||
| strategy | No | New strategy text. | |
| timezone | No | IANA zone. | |
| daily_cap | No | ||
| send_days | No | ||
| skip_dates | No | ||
| campaign_id | Yes | Campaign id. | |
| description | No | New description. | |
| identity_id | No | Sending identity id. | |
| track_opens | No | ||
| timezone_mode | No | contact or fixed. | |
| idempotency_key | No | Optional. Repeating a call with the same key and the same arguments returns the first result instead of writing again, so retries are safe. |