Enable catch all emails
POST
/v2/domains/catch-all
Activate Catch-All Email Forwarding for Domain
Endpoint
Request Body
Name | Type | Description |
---|---|---|
domainIds | array | An array of domain IDs for which catch-all email forwarding should be enabled. |
email | string | The email address where all messages sent to any address at the domain should be forwarded. |
contains | string | (Optional) Enable catch-all email forwarding only for domains that match the specified keyword. |
Example Request
{
"domainIds": ["domainId1", "domainId2"],
"email": "forward@example.com",
"contains": "example"
}
Request
Header Params
x-auth-zapmail
string
required
Example:
{{x-auth-zapmail}}