Skip to main content
POST
Create Campaign Variation
Saves content as a new ready variation, for example a copy of a version you want to take in another direction. Provide blocks or html, not both. Blocks without a footer get the company’s default footer, as with Update Campaign. The campaign email does not change.

Request

string
required
Campaign ID. Email campaigns only.
string
required
Name shown on the canvas. 1 to 120 characters.
array
Email blocks, validated like campaign content. Required unless you send html.
string
HTML converted to blocks. Use instead of blocks.
string | null
What this version changes, up to 500 characters.
string | null
The subject this variation uses. Omit or send null to keep the email’s subject when it is used.
string | null
The preview text this variation uses. Omit or send null to keep the email’s.
string | null
The variation this one is derived from. It is labeled as a branch of it (V2.1, V2.2, …). Omit for a version of the email (V1, V2, …).
object | null
The variation’s own email theme (presetId, colors, typography, layout). A partial theme is completed with defaults. null uses the email’s theme. Using the variation puts its theme on the email.
string | null
The variation’s own body font stack, up to 500 characters. null uses the email’s font.

Response

object
The new variation. See List Variations.
string[]
Block fields that were accepted but had no effect. Omitted when there are none.