Skip to main content
Resend Docs
current

Search documentation

Type to search this documentation.

On this pageOverview

topic.deleted

Received when a topic is deleted.

Event triggered whenever a topic is deleted.

All webhook payloads follow a consistent top-level structure with event-specific data nested within the data object.

  • type (string) — The event type that triggered the webhook (e.g., topic.deleted).

  • created_at (string) — ISO 8601 timestamp when the webhook event was created.

  • data (object) — Event-specific data containing detailed information about the event. The data object for the topic.deleted event contains the following parameters:

    object parameters
    • id (string) — Unique identifier for the topic
    • name (string) — The topic name
    • description (string | null) — The topic description
    • default_subscription (opt_in | opt_out) — The default subscription preference for new contacts
    • deleted (boolean) — Whether the topic was deleted
    • created_at (string) — ISO 8601 timestamp when the topic was created
    • updated_at (string) — ISO 8601 timestamp when the topic was last updated
JSON
{
  "type": "topic.deleted",
  "created_at": "2026-02-12T10:00:00.000Z",
  "data": {
    "id": "b6d24b8e-af0b-4c3c-be0c-359bbd97381e",
    "name": "Product Updates",
    "description": "New features and improvements",
    "default_subscription": "opt_in",
    "deleted": true,
    "created_at": "2026-02-12T10:00:00.000Z",
    "updated_at": "2026-02-12T10:00:00.000Z"
  }
}
Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu