| 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. |
{
"domainIds": ["domainId1", "domainId2"],
"email": "forward@example.com",
"contains": "example"
}curl --location --request POST 'https://api.zapmail.ai/api/v1/domain/enable-catch-all-email' \
--header 'x-auth-zapmail: '{
"status": 200,
"message": "Catch all email will update soon",
"data": null
}