Set Up Domain Forwarding#
This endpoint lets you set up forwarding from one domain to another.Endpoint#
Request Body#
Name | Type | Description |
---|
domainIds | array | An array of domain IDs to which the forwarding should be added. |
forwardTo | string | The domain where the existing domain name should be forwarded. |
contains | string (Optional) | Only add forwarding to specific domains by keyword. |
Example Request#
{
"domainIds": ["1234-abcd-5678-efgh"],
"forwardTo": "newdomain.com",
"contains": "example"
}
Request Code Samples
curl --location --request POST 'https://api.zapmail.ai/api/v1/domain/add-dmarc' \
--header 'x-auth-zapmail: '
Responses
application/json {
"status": 200,
"message": "Blacklist updated successfully"
}
Modified at 2025-01-30 13:15:15