This endpoint lets you add a DMARC record to one or more domains. Use contains, status and tagIds attribute to filter domains.
Request
Body Params application/json
{
"domainIds": ["DA84A348-C526-4563-AFCD-6DDD71C3FE69"],
"email": "example@domain.com",
"contains": "",
"status": [],
"tagIds": []
}
Request Code Samples
curl --location --request POST 'https://api.zapmail.ai/api/v2/domains/dmarc' \
--header 'x-auth-zapmail;' \
--header 'x-workspace-key;' \
--header 'x-service-provider;' \
--header 'Content-Type: application/json' \
--data-raw '{
"domainIds": ["DA84A348-C526-4563-AFCD-6DDD71C3FE69"],
"email": "example@domain.com",
"contains": "",
"status": [],
"tagIds": []
}'
Responses
application/json {
"status": 200,
"message": "DMARC records will be added in sometime",
"data": null
}
Modified at 2025-10-14 09:24:53