Localizzato tramite IA

template.created

Attivato quando viene creato un nuovo template.

Payload

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

Campi

idstring
Link

Identificativo univoco del template.

objectstring
Link

Sempre template.

namestring
Link

Nome del template.

aliasstring
Link

Alias del template per l'utilizzo tramite API.

fromstring
Link

Indirizzo mittente predefinito.

subjectstring
Link

Oggetto predefinito.

reply_toarray
Link

Indirizzi di risposta.

htmlstring
Link

Contenuto HTML del template.

textstring
Link

Contenuto in testo semplice del template.

editorstring
Link

Tipo di editor utilizzato (html, visual).

published_atstring | null
Link

Timestamp ISO 8601 della pubblicazione.

created_atstring
Link

Timestamp ISO 8601 di creazione.

updated_atstring
Link

Timestamp ISO 8601 dell'ultimo aggiornamento.