Skip to main content
POST
Create an email template, layout or saved reply.

Authorizations

Authorization
string
header
required

Enter your access token (OAuth / JWT).

Body

application/json

The template to create.

The fields of a new email template. Name and Body are required.

AvailableTokens
string | null

The tokens that the editor in the Outseta app offers for the template, comma-separated.

Body
string

The HTML of the template. May use Liquid tokens, for example {{ Person.FirstName }}. Required.

Description
string | null

What the template is for.

Design
string | null

The design of the template in the drag-and-drop editor, as JSON. Leave it out for a template that is plain HTML.

Name
string

The name of the template, shown in the Outseta app. Required.

RequiredTokens
string | null

The tokens the Body must keep, comma-separated, for example Body,SenderInfo for an email layout. The template is rejected if its Body does not have them, and so is a later update that removes one.

Subject
string | null

The subject line of the email. May use Liquid tokens, for example {{ CompanyName }}.

Tag
string | null

The kind of template: template (Email > Email templates), layout (email layout) or savedReply (saved support reply). Send template for a template that shows in Email > Email templates and can be sent with the send endpoint.

Response

Created
string<date-time>
required
read-only
Minimum string length: 1
Updated
string<date-time>
required
read-only
Minimum string length: 1
Name
string
required
Required string length: 1 - 250
Body
string
required
Minimum string length: 1
Uid
string | null
Maximum string length: 10
_objectType
string | null
ActivityEventData
unknown
Subject
string | null
Maximum string length: 1000
Design
string | null
Description
string | null
Maximum string length: 1000
SystemName
string | null
Maximum string length: 50
IsInternal
boolean
AvailableTokens
string | null
RequiredTokens
string | null
Tag
string | null
Tags
object[] | null