Campaigns
Edit a draft
Permission required: campaigns:write. Changes a campaign with status draft: name, subject, preheader, kind, sender, content (content in blocks, or text). Nothing is sent. Any other status answers 409 conflict with the current status in details.status, and nothing is changed: what is scheduled, sending or sent is not rewritten.
patch/api/v1/campaigns/{id}
Request
- Base URL: https://mailcheer.com
- URL: https://mailcheer.com/api/v1/campaigns/{id}
- Auth: one of:
- HTTP bearer
- API key in header X-Api-Key
Path parameters
idstring required
Request body
Example request
{
"name": "September newsletter",
"subject": "What we changed this month",
"preheader": "Three new things, and one we owed you.",
"kind": "newsletter",
"from": "hello@yourdomain.com",
"sender_id": "snd_71a",
"text": "# Three new things\n\nHere is what changed this month.\n\nEnjoy the read."
}Response
The draft, as it is now.
Changes
No recorded changes to this operation across all 1 revision of this API.