Dokumentation Webhooks Ereignisse

template.created

Wird ausgelöst, wenn eine neue Vorlage erstellt wird.

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

Felder

id string

Eindeutige Vorlagen-ID.

object string

Immer template.

name string

Name der Vorlage.

alias string

Vorlagen-Alias für die API-Verwendung.

from string

Standard-Absenderadresse.

subject string

Standard-Betreffzeile.

reply_to array

Antwort-Adressen.

html string

HTML-Inhalt der Vorlage.

text string

Nur-Text-Inhalt der Vorlage.

editor string

Verwendeter Editor-Typ (html, visual).

published_at string | null

ISO 8601-Zeitstempel der Veröffentlichung.

created_at string

ISO 8601-Zeitstempel.

updated_at string

ISO 8601-Zeitstempel.

template.updated

Wird ausgelöst, wenn eine Vorlage aktualisiert wird.

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

Felder

id string

Eindeutige Vorlagen-ID.

object string

Immer template.

name string

Name der Vorlage.

alias string

Vorlagen-Alias für die API-Verwendung.

from string

Standard-Absenderadresse.

subject string

Standard-Betreffzeile.

reply_to array

Antwort-an-Adressen.

html string

HTML-Inhalt der Vorlage.

text string

Nur-Text-Inhalt der Vorlage.

editor string

Verwendeter Editor-Typ (html, visual).

published_at string | null

ISO 8601-Zeitstempel der Veröffentlichung.

created_at string

ISO 8601-Zeitstempel.

updated_at string

ISO 8601-Zeitstempel.

template.deleted

Wird ausgelöst, wenn eine Vorlage gelöscht wird.

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

Felder

id string

Eindeutige Vorlagen-ID.

object string

Immer template.

name string

Name der Vorlage.

alias string

Vorlagen-Alias für die API-Verwendung.

from string

Standard-Absenderadresse.

subject string

Standard-Betreffzeile.

reply_to array

Antwort-Adressen.

html string

HTML-Inhalt der Vorlage.

text string

Textinhalt der Vorlage.

editor string

Verwendeter Editor-Typ (html, visual).

published_at string | null

ISO 8601-Zeitstempel der Veröffentlichung.

created_at string

ISO 8601-Zeitstempel.

updated_at string

ISO 8601-Zeitstempel.

Lokalisiert durch KI