Save an email version
Saves a version of the email's current content, envelope, and any component dependencies it references.
If you need to revert to a previous version, use Restore an email version.
If the email is identical to the most recent version, this returns that version with "created": false instead of saving a duplicate. If the code of a referenced custom component changes, you can save a new version of the email with the latest component changes; however, the code diff in Design Studio will show no change because the component code isn't compiled in that view.
Path parameters
The UUID of the email. If your email has translations, this is the ID of a specific language variant.
Request body
Example request
{
"name": "Before holiday redesign"
}Response
Returns the new version saved, or the latest version if nothing changed.
Example response
{
"version": {
"id": "8f14e45f-ceea-4c67-9814-b8f0e0e1a6f0",
"node_id": "1a0cbb4e-09d3-402e-949e-f6732f021650",
"node_type": "EMAIL",
"name": "Before holiday redesign",
"created": 1773856017,
"created_on_publish": false,
"feedback": false
}
}Changes
Changed in 1 of the 13 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○