Skip to main content
POST
Use Campaign Variation
Copies a ready variation into the campaign email: its blocks, plus its subject, preview text, theme and font when it has its own. When it has its own look, the other variations that follow the email’s look keep the one it had, so they don’t all change with it. Draft campaigns only. Translations are re-derived from the new content. If the email’s current content is not already one of the variations, it is saved first as a new variation named “Before” plus the label you used, and returned as savedPrevious, so you can always go back. Using that saved variation later restores the previous content.

Request

string
required
Campaign ID. Email campaigns only.
string
required
Variation ID.

Response

object
The variation you used, now with inUse: true.
object | null
The email’s previous content, saved as a variation. null when it already was one.