Campaigns
Update Campaign
Updates a previously added campaign. Only Active and Paused campaigns can be updated. Required Access Level: ModifyCampaigns
put/campaigns/{name}
Request
- Base URLhttps://api.elasticemail.com/v4
- URLhttps://api.elasticemail.com/v4/campaigns/{name}
- AuthAPI key in header X-ElasticEmail-ApiKey
Path parameters
namestring string required
string
Name of Campaign to update
Request body
Example request
{
"Content": [
{
"Poolname": "My Custom Pool",
"From": "John Doe <email@domain.com>",
"ReplyTo": "John Doe <email@domain.com>",
"Subject": "Hello!",
"TemplateName": "Template01",
"AttachFiles": [
"preuploaded.jpg"
]
}
]
}Response
OK
Example response
{
"Content": [
{
"Poolname": "My Custom Pool",
"From": "John Doe <email@domain.com>",
"ReplyTo": "John Doe <email@domain.com>",
"Subject": "Hello!",
"TemplateName": "Template01",
"AttachFiles": [
"preuploaded.jpg"
]
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.