Campaigns

Update a draft campaign

Update a draft campaign's name, content, or reply-to settings.

put/campaigns/{campaignId}

Path parameters

campaignIdstring required

Campaign ID

Request body

namestring

Updated campaign name

subjectstring

Updated email subject line

htmlstring

Updated email HTML content. Mutually exclusive with blocks.

blocksobject[]

Updated Sequenzy email blocks. Mutually exclusive with html.

replyTostring email

Existing reply profile email for this company. Mutually exclusive with replyProfileId.

replyProfileIdstring

Reply profile ID for this company. Mutually exclusive with replyTo.

Example request

{
  "name": "April Launch",
  "subject": "A quick update",
  "html": "<p>Hello there!</p>",
  "replyTo": "support@example.com",
  "replyProfileId": "reply_abc123"
}

Response

Campaign updated successfully

successboolean required

Example response

{
  "success": true,
  "campaign": {
    "id": "camp_abc123",
    "name": "April Launch",
    "subject": "A quick update",
    "status": "draft",
    "replyProfileId": "reply_abc123",
    "replyToName": "Support",
    "replyToEmail": "support@example.com"
  }
}

Changes