| Name | Type | Description |
|---|---|---|
domainIds | array | An array of domain IDs to which email forwarding should be enabled. |
email | string | The email address where incoming messages should be forwarded. |
contains | string | (Optional) Apply email forwarding only to domains that match the specified keyword. |
{
"domainIds": ["domainId1", "domainId2"],
"email": "forwardto@example.com",
"contains": "example"
}curl --location --request POST 'https://api.zapmail.ai/api/v1/domain/enable-email-forwarding' \
--header 'x-auth-zapmail: '{
"status": 200,
"message": "Email forwarding will update soon",
"data": null
}