Create a webhook for an email domain
Creates a webhook endpoint subscribed to a specific allowlist of event types. Both email.* events (published by email-api) and email_domain.* events (published by this service) flow through the same webhooks.
Path parameters
Email domain UUID
Request body
Response
Email webhook created
Example response
{
"data": {
"id": "123e4567-e89b-12d3-a456-426614174003",
"record_type": "email_webhook",
"url": "https://example.com/webhooks/email",
"events": [
"email.sent",
"email.delivered",
"email.bounced"
],
"domain_id": "123e4567-e89b-12d3-a456-426614174000",
"created_at": "2026-06-18T12:00:00Z",
"updated_at": "2026-06-18T12:00:00Z"
}
}Changes
Changed in 3 of the 99 revisions of this API.164
- ●
added the new
40901enum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
40901enum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
40901enum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
email.cancelledenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
email.daily_limit_exceededenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
email_domain.dkim_rotatedenum value to the//response property for the response statusresponse-property-enum-value-added
- ○
added the new
email.cancelledenum value to the request property/request-property-enum-value-added
- ○
added the new
email.daily_limit_exceededenum value to the request property/request-property-enum-value-added
- ○
added the new
email_domain.dkim_rotatedenum value to the request property/request-property-enum-value-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 111 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
Of the 99 revisions, 1 has no diff computed.