Create Campaign (v2)
The newer version of Create Campaign with additional options — prefer this endpoint for new integrations.
Required: name, subject, and sender (with sender_name + sender_email). Content: provide html or plain_text. Audience: provide at least one of list_ids, segments, or tag_ids.
POST
Authorizations
Your Mailercloud API key (plain text, no Bearer prefix). Create keys in Settings → API.
Headers
Request body type
Body
application/json
Required string length:
1 - 150Required string length:
1 - 65000"1" publishes/schedules the campaign; "0" saves it as a draft.
Available options:
0, 1 Schedule time in YYYY-MM-DD HH:MM:SS format. Omit to send according to is_publish.
Response
{ "id": "a" }
ID of the created campaign.