Restore Template Version
Puts a version back into the template. The state before it stays in history. It changes the content, sender, subject and preview text. It keeps the name, and it reaches sends after you publish. Needs a Full key. A key limited to one domain answers 403. Send an optional Idempotency-Key header to retry safely. See Idempotency.
{ "id": "tpl_06d2mfk8r5cx3nd8vt1qa", "name": "Welcome", "from": "Acme <hello@acme.dev>", "reply_to": null, "subject": "Welcome to Acme, {{first_name}}", "preheader": "Here is how to get started", "html": "<!DOCTYPE html><html>…</html>", "text": "Hi Suhasinee, welcome to Acme…", "published_version_id": "ver_06d2mfk8r5cx3nd8vt1qb", "has_unpublished_changes": false, "created_at": "2026-10-21T09:00:00.000Z", "updated_at": "2026-10-21T09:00:00.000Z" }
Restored the version into the template. The state before it stays in history.
Path Parameters
The template id.
The version id.
Response
The template id.
The template name.
The default from address.
The default reply-to address.
The subject.
The preview text.
The rendered HTML.
The plain text version.
The version that sends use. null until the first publish, and sends fail until then.
Whether the draft differs from the version that sends use.
When it was created.
When it last changed.