template.created
Se dispara cuando se crea una nueva plantilla.
{
"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"
}
}
}
Campos
id
string
Identificador único de la plantilla.
object
string
Siempre template.
name
string
Nombre de la plantilla.
alias
string
Alias de la plantilla para uso en la API.
from
string
Dirección de remitente predeterminada.
subject
string
Línea de asunto predeterminada.
reply_to
array
Direcciones de respuesta.
html
string
Contenido HTML de la plantilla.
text
string
Contenido de texto plano de la plantilla.
editor
string
Tipo de editor utilizado (html, visual).
published_at
string | null
Marca de tiempo ISO 8601 de cuando se publicó.
created_at
string
Marca de tiempo ISO 8601.
updated_at
string
Marca de tiempo ISO 8601.
template.updated
Se dispara cuando se actualiza una plantilla.
{
"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"
}
}
}
Campos
id
string
Identificador único de la plantilla.
object
string
Siempre template.
name
string
Nombre de la plantilla.
alias
string
Alias de la plantilla para uso en la API.
from
string
Dirección de remitente predeterminada.
subject
string
Línea de asunto predeterminada.
reply_to
array
Direcciones de respuesta.
html
string
Contenido HTML de la plantilla.
text
string
Contenido de texto plano de la plantilla.
editor
string
Tipo de editor utilizado (html, visual).
published_at
string | null
Marca de tiempo ISO 8601 de cuando se publicó.
created_at
string
Marca de tiempo ISO 8601.
updated_at
string
Marca de tiempo ISO 8601.
template.deleted
Se dispara cuando se elimina una plantilla.
{
"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"
}
}
}
Campos
id
string
Identificador único de la plantilla.
object
string
Siempre template.
name
string
Nombre de la plantilla.
alias
string
Alias de la plantilla para uso en la API.
from
string
Dirección de remitente predeterminada.
subject
string
Línea de asunto predeterminada.
reply_to
array
Direcciones de respuesta.
html
string
Contenido HTML de la plantilla.
text
string
Contenido de texto plano de la plantilla.
editor
string
Tipo de editor utilizado (html, visual).
published_at
string | null
Marca de tiempo ISO 8601 de cuando se publicó.
created_at
string
Marca de tiempo ISO 8601.
updated_at
string
Marca de tiempo ISO 8601.