update_campaign
Update a draft campaign: name, subject, preview text, sender info, HTML content, and/or recipients. Retarget with exactly ONE of audienceIds / segmentId / contactIds / tagIds / sendToAll, then verify with preview_campaign_recipients before sending. Only drafts can be edited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | ||
| name | No | Campaign name (internal label) | |
| apiKey | No | Send16 API key (overrides SEND16_API_KEY env var) | |
| tagIds | No | Retarget to contacts with these tag IDs | |
| replyTo | No | ||
| subject | No | ||
| fromName | No | ||
| fromEmail | No | ||
| segmentId | No | Retarget to this segment (see list_segments) | |
| sendToAll | No | Retarget to all subscribed contacts in the workspace | |
| campaignId | Yes | Campaign ID | |
| contactIds | No | Retarget to these specific contact IDs | |
| audienceIds | No | Retarget to these audience IDs (see list_audiences). Sets recipient type 'lists'. | |
| previewText | No |