Update Campaign
API for updating the campaign. Can’t change or edit the list, segments, pause_rule, rules for the campaigns in sending status. Pause the campaign to edit the scheduled date.
Authorizations
Your Mailercloud API key (plain text, no Bearer prefix). Create keys in Settings → API.
Headers
application/json
Path Parameters
Campaign Id
Body
Email preheader is the summary text that follows a subject line when the email is viewed in an inbox. In many cases, it’s used to provide a short summary of the email, and is typically one sentence long.
Minimum: 1
Maximum: 150
1HTML template content for your email campaign.
1Recipients of your email campaign.
Contact list id. Before setting list id please check your contact count in list.
true - Mailing preference option will be displayed in footer of email campaign template.
false - Mailing preference option will not be dispalyed.
Name of the campaign.
Minimum: 1
Maximum: 150
1Optional
If you want to set a rule for sending a campaign, use this option. Based on the configured rule, the campaign will be sent.
The permission reminder content in your email campaign. If you want give unsubscribe link give %%unsubscribe%%
Minimum: 1
Maximum: 150
1Plain text content of your email campaign.
1Email on which the campaign recipients will be able to reply to. If replay_email empty then sender email will be the reply email
1Spam reporting enable or disable.
Supported contacts_order : first, last.
Schedule time for your email campaign. Pass your timezone date-time format for accurate results.
Format: 2021-04-23 15:04:05
1Your recipient segment id.
1Subject of the campaign.
Minimum: 1
Maximum: 150
1true: Enable the "View this email in your browser" in Campaign preview page.
false: Disable the "View this email in your browser" in Campaign preview page.
Response
OK
1