Create a draft campaign
moosend_create_draft_campaignWRITE: create a regular (non-A/B) DRAFT campaign. It is NOT sent — sending stays a human action in Moosend. Give the content as html_content or a web_location URL. sender_email and reply_to_email must be senders in the account (see moosend_list_senders). Returns the new campaign's ID. Moosend: POST /campaigns/create.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Campaign name. | |
| subject | Yes | Subject line. | |
| html_content | No | Complete HTML body of the campaign. | |
| sender_email | Yes | Sender email — must be one of the account's senders. | |
| web_location | No | URL Moosend fetches the HTML from (CSS is inlined automatically). | |
| mailing_lists | Yes | Target lists, each optionally narrowed to one segment. | |
| reply_to_email | No | Reply-to email — must be one of the account's senders. Default: sender_email. | |
| confirmation_to_email | No | Where to send the 'campaign sent' confirmation. Default: sender_email. | |
| track_in_google_analytics | No | Enable Google Analytics tracking (requires GA on your site). |