Campaigns

Create campaign

Creates a draft campaign and linked email. Requires a configured sender profile.

post/campaigns

Request body

namestring required
subjectstring required
htmlstring

Raw HTML body. Mutually exclusive with blocks.

blocksobject[]

Sequenzy email blocks. Mutually exclusive with html.

campaignDataobject nullable
computedListsobject[]
templateIdstring

Reserved for client compatibility.

segmentIdstring

Reserved for client compatibility.

Response

Campaign created

successboolean

Example response

{
  "success": true,
  "campaign": {
    "status": "draft"
  }
}

Changes