Skip to content

mail_template_revision_get

Get one revision's content by its number

Tool

mail_template_revision_get

Get one revision's content by its number

Get one revision's content by its number

Behavior

HTTP
GET /mail/templates/:id/revisions/:revision

Arguments

Name
Type
Required
Description
id
string
•
Template id
revision
integer
•
Revision number, counting from 1 for this template

Response

Field
Type
Always
Description
html
string
•
HTML body as authored in this revision
live
boolean
•
True for the revision a send currently renders
text
string
•
Plaintext body as authored in this revision; null when none was supplied
subject
string
•
Subject as authored in this revision
revision
integer
•
Revision number, counting from 1 for this template
createdAt
string
•
When this revision was authored (ISO 8601 UTC)
createdBy
string
•
Identity that authored this revision; null when unknown
variables
array
•
Variables declared by this revision (at most 20)
publishedAt
string
•
When this revision first went live (ISO 8601 UTC); null for the open draft

Try it

Get one revision's content by its number.

When to use

Get one revision's content by its number

Example

Ask your agent something like this:

Get one revision's content by its number.

The agent will invoke mail_template_revision_get with these arguments:

{
  "id": "<id>",
  "revision": "<revision>"
}

Esc

Start typing to search the docs.

↑↓navigate↵select