Add DMARC Record to Domain#
This endpoint lets you add a DMARC record to one or more domains.Endpoint#
Request Body#
Name | Type | Description |
---|
domainIds | array | An array of domain IDs where the DMARC record should be added. |
email | string | The email address to be used for the DMARC record. |
contains | string (Optional) | A filter to apply the DMARC record to specific domains based on a keyword. |
Example Request#
{
"domainIds": ["1234-abcd-5678-efgh"],
"email": "admin@mydomain.com",
"contains": "example"
}
Request
Example:{{x-auth-zapmail}}
Request samples
curl --location --request POST 'https://api.zapmail.ai/api/v2/domains/dmarc' \
--header 'x-auth-zapmail: '
Responses
application/json {
"status": 200,
"message": "DMARC records will be added in sometime",
"data": null
}
Modified at 2025-01-30 13:11:34