Skip to main content
PUT
/
api
/
v1
/
campaigns
/
{campaignId}
Update Campaign
curl --request PUT \
  --url https://api.sequenzy.com/api/v1/campaigns/{campaignId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "subject": "<string>",
  "html": "<string>",
  "replyTo": "<string>",
  "replyProfileId": "<string>"
}
'
{
  "success": true,
  "campaign": {
    "id": "camp_abc123",
    "name": "April Launch",
    "subject": "A quick update",
    "status": "draft",
    "replyProfileId": "reply_abc123",
    "replyToName": "Support",
    "replyToEmail": "support@example.com"
  }
}
Update a draft campaign. You can change the campaign name, subject, HTML body, or reply-to profile.

Request

campaignId
string
required
Campaign ID.
name
string
Updated campaign name.
subject
string
Updated email subject line.
html
string
Updated HTML body. Sequenzy converts this into email blocks.
replyTo
string
Existing reply profile email address for this company. Use this or replyProfileId, not both.
replyProfileId
string
Reply profile ID for this company. Use this or replyTo, not both.
curl -X PUT "https://api.sequenzy.com/api/v1/campaigns/camp_abc123" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "subject": "A quick update",
    "replyTo": "support@example.com"
  }'

Responses

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