template.created
Fired when a new template is created.
{
"event_id": "evt_2bH7kNwP5mQaV1sXgIdKe6pZr",
"type": "template.created",
"data": {
"object": {
"id": "tem_4yM2nTvR8oPcX3uZiKeLg7sB",
"object": "template",
"name": "Welcome Email v1",
"alias": "welcome-email",
"from": "Support <support@company.com>",
"subject": "Welcome!",
"reply_to": ["support@company.com"],
"html": "<h1>Welcome!</h1>",
"text": "Welcome!",
"editor": "html",
"published_at": null,
"created_at": "2025-12-24T09:00:00.000000Z",
"updated_at": "2025-12-24T10:30:00.000000Z"
}
}
}
Fields
id
string
Unique template identifier.
object
string
Always template.
name
string
Template name.
alias
string
Template alias for API usage.
from
string
Default sender address.
subject
string
Default subject line.
reply_to
array
Reply-to addresses.
html
string
HTML content of the template.
text
string
Plain text content of the template.
editor
string
Editor type used (html, visual).
published_at
string | null
ISO 8601 timestamp when published.
created_at
string
ISO 8601 timestamp.
updated_at
string
ISO 8601 timestamp.
template.updated
Fired when a template is updated.
{
"event_id": "evt_2bH7kNwP5mQaV1sXgIdKe6pZr",
"type": "template.updated",
"data": {
"object": {
"id": "tem_4yM2nTvR8oPcX3uZiKeLg7sB",
"object": "template",
"name": "Welcome Email v1",
"alias": "welcome-email",
"from": "Support <support@company.com>",
"subject": "Welcome!",
"reply_to": ["support@company.com"],
"html": "<h1>Welcome!</h1>",
"text": "Welcome!",
"editor": "html",
"published_at": null,
"created_at": "2025-12-24T09:00:00.000000Z",
"updated_at": "2025-12-24T10:30:00.000000Z"
}
}
}
Fields
id
string
Unique template identifier.
object
string
Always template.
name
string
Template name.
alias
string
Template alias for API usage.
from
string
Default sender address.
subject
string
Default subject line.
reply_to
array
Reply-to addresses.
html
string
HTML content of the template.
text
string
Plain text content of the template.
editor
string
Editor type used (html, visual).
published_at
string | null
ISO 8601 timestamp when published.
created_at
string
ISO 8601 timestamp.
updated_at
string
ISO 8601 timestamp.
template.deleted
Fired when a template is deleted.
{
"event_id": "evt_2bH7kNwP5mQaV1sXgIdKe6pZr",
"type": "template.deleted",
"data": {
"object": {
"id": "tem_4yM2nTvR8oPcX3uZiKeLg7sB",
"object": "template",
"name": "Welcome Email v1",
"alias": "welcome-email",
"from": "Support <support@company.com>",
"subject": "Welcome!",
"reply_to": ["support@company.com"],
"html": "<h1>Welcome!</h1>",
"text": "Welcome!",
"editor": "html",
"published_at": null,
"created_at": "2025-12-24T09:00:00.000000Z",
"updated_at": "2025-12-24T10:30:00.000000Z"
}
}
}
Fields
id
string
Unique template identifier.
object
string
Always template.
name
string
Template name.
alias
string
Template alias for API usage.
from
string
Default sender address.
subject
string
Default subject line.
reply_to
array
Reply-to addresses.
html
string
HTML content of the template.
text
string
Plain text content of the template.
editor
string
Editor type used (html, visual).
published_at
string | null
ISO 8601 timestamp when published.
created_at
string
ISO 8601 timestamp.
updated_at
string
ISO 8601 timestamp.