Replace a campaign's sequence
Replaces the campaign's whole sequence with the steps provided. The operation is idempotent, so sending the same payload twice leaves the same state and a retried request cannot duplicate steps. delayDays is counted from the previous step and the first step must be 0. Editing a running campaign is allowed and re-queues future sends; already-sent emails are untouched. Merge tags take ONE brace, e.g. {first_name}, {last_name}, {company_name}, {job_title}, plus any key set in a lead's customVariables; a fallback is {first_name}[there] or {first_name|there}. Placeholders written in another tool's syntax ({{first_name}}, [[first_name]], [First Name]) are rejected with a 400 that names the tag to write instead, because they are not substituted and would be sent exactly as typed ("Hi [First Name],").
Request
- Base URL: https://api.emailchaser.com/r
- URL: https://api.emailchaser.com/r/campaigns/{id}/sequence
- Auth: HTTP bearer
Path parameters
Campaign ID
Request body
Response
Campaign sequence replaced successfully
Example response
{
"campaignId": 8589949820,
"message": "campaign sequence replaced successfully",
"signature": "<p>Robby Frank</p>",
"steps": [
{
"body": "<p>Hi {first_name},</p>",
"contentType": "html",
"order": 1,
"subject": "Quick question, {first_name}",
"useSameThread": true,
"variants": [
{
"body": "<p>Hi {first_name},</p>",
"label": "B",
"subject": "Quick question about {company_name}"
}
]
}
],
"total": 3
}Changes
No recorded changes to this operation across all 1 revision of this API.