Skip to main content
POST
Create an email template

Authorizations

Authorization
string
header
required

Authenticate every request with a Bearer token. Pass your Reply API key in the Authorization header:

Get your API key from the Reply dashboard: Settings → API Key.

Body

application/json

Request body for creating a new email template.

name
string
required

Name of the email template

Maximum string length: 255
body
string
required

HTML body of the email template

folderType
enum<string>
required

Type of the folder

Available options:
personal,
team
subject
string | null

Email subject line

folderId
integer | null

ID of the folder to place the template in

attachmentIds
integer[]

List of previously uploaded attachment IDs to associate with the template

Maximum array length: 3

Response

Email template created successfully

Full representation of an email template including timestamps.

id
integer
read-only

Unique identifier for the email template

name
string

Name of the email template

subject
string | null

Email subject line

body
string

HTML body of the email template

folderId
integer | null

ID of the folder containing this template

folderType
string | null

Type of the folder (e.g., "personal", "shared")

attachments
EmailTemplateAttachment · object[]

List of attachments associated with the template

createdAt
string<date-time>
read-only

Timestamp when the template was created

updatedAt
string<date-time>
read-only

Timestamp when the template was last updated