Skip to main content
PUT
Update 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.

Path Parameters

id
integer
required

Email template ID

Body

application/json

Request body for updating an existing email template.

name
string
required

Name of the email template

Maximum string length: 255
body
string
required

HTML body of the email template

subject
string | null

Email subject line

attachmentIds
integer[]

List of attachment IDs to associate with the template (replaces existing attachments)

Maximum array length: 3

Response

Email template updated 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