Enable email forwarding
POST
/v1/domain/enable-email-forwarding
Activate Email Forwarding for Domain
Endpoint
Request Body
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. |
Example Request
{
"domainIds": ["domainId1", "domainId2"],
"email": "forwardto@example.com",
"contains": "example"
}
Request
Header Params
x-auth-zapmail
string
required
Example:
{{x-auth-zapmail}}