Enable catch-all receiving

Enables catch-all inbound receiving for a verified domain.

POST
/v1/email/domains/{id}/enable-catch-all

Enables catch-all inbound receiving for a verified domain. endpointId is one of the organization's webhook endpoints; every address on the domain delivers message.received to it. Omit it to deliver through forwarding rules alone, which needs at least one active forwarding rule covering the domain. Mail that matches neither a rule nor an endpoint is rejected as an unknown recipient. Responds with 201.

x-api-key<token>

In: header

Path Parameters

id*string
Match^dom_[0-9a-hjkmnp-tv-z]{16,24}$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

endpointId?|null

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/email/domains/string/enable-catch-all" \  -H "Content-Type: application/json" \  -d '{}'
{  "success": true}

Related documentation