template.deleted

Fired when a template is deleted.

Payload

{
  "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

idstring
Link

Unique template identifier.

objectstring
Link

Always template.

namestring
Link

Template name.

aliasstring
Link

Template alias for API usage.

fromstring
Link

Default sender address.

subjectstring
Link

Default subject line.

reply_toarray
Link

Reply-to addresses.

htmlstring
Link

HTML content of the template.

textstring
Link

Plain text content of the template.

editorstring
Link

Editor type used (html, visual).

published_atstring | null
Link

ISO 8601 timestamp when published.

created_atstring
Link

ISO 8601 timestamp.

updated_atstring
Link

ISO 8601 timestamp.