Set a draft campaign's content
sarbacane_set_campaign_contentWRITE: set the HTML (and optional plain-text) content of an email campaign's send, replacing what was there. Without send_id the campaign's only send is used (an A/B test campaign has several: pass one). POST /v1/campaigns/{campaignId}/send/{sendId}/content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | The HTML body of the email. | |
| text | No | Plain-text alternative. | |
| send_id | No | Send id from sarbacane_get_campaign (campaign.sends). Optional when the campaign has one send. | |
| campaign_id | Yes | Campaign id. |