Update catch-all configuration

Updates a domain's catch-all receiving configuration: the webhook endpoint that receives its inbound mail.

PATCH
/v1/email/catch-all/config

Updates a domain's catch-all receiving configuration: the webhook endpoint that receives its inbound mail.

x-api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

domainId*EmailDomainId
Match^dom_[0-9a-hjkmnp-tv-z]{16,24}$
endpointId?|null

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

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

Related