Skip to main content
POST
Restore a previous version of a template's content.

Authorizations

X-API-Key
string
header
required

Company API key - scoped to a specific company. Generate from the Integrations page in your dashboard.

Path Parameters

versionId
string
required
templateId
string
required

Response

The template after restoring the selected version

A reusable marketing campaign template

id
string

Template ID

companyId
string

Company this template belongs to

uid
string

User ID that created the template

name
string

Template name

description
string

Optional note describing when to use this template

subject
string

Default email subject line

replyTo
string

Default Reply-To email address

bodyHtml
string

Email HTML rendered by the server from bodyDocument (read-only)

bodyDocument
string

Visual-builder JSON document for the email body (source of truth)

senderProfileId
string

Default sender profile ID

listId
string

Default smart list ID

fieldMappings
object

Field mapping for resolving recipient email from a list row

scheduleSettings
string

Optional sending-window settings

chatHistory
string[]

Saved AI chat history for this template (reserved for a future AI edit mode)

created_date
string

ISO timestamp when the template was created

updated_date
string

ISO timestamp when the template was last updated

smartList
object

Summary of the default smart list

senderProfile
object

Summary of the default sender profile