v52

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-311,1941,9384.1 MB
Email Webhooks

Update a webhook

Update a webhook's URL and/or event subscription. A webhook is bound to its domain — domain_id is not mutable.

patch/email_domains/{domain_id}/webhooks/{id}

Path parameters

domain_idstring uuid required

Email domain UUID

idstring uuid required

Email webhook UUID

Request body

eventsEmailWebhookEvent[]
urlstring uri

Response

Email webhook updated

Example response

{
  "data": {
    "created_at": "2026-06-18T12:00:00Z",
    "domain_id": "123e4567-e89b-12d3-a456-426614174000",
    "events": [
      "email.sent",
      "email.delivered",
      "email.bounced"
    ],
    "id": "123e4567-e89b-12d3-a456-426614174003",
    "record_type": "email_webhook",
    "updated_at": "2026-06-18T12:00:00Z",
    "url": "https://example.com/webhooks/email"
  }
}