GENERATE DMARC RECORD
REST API Method: GENERATE DMARC RECORD
Returns the TXT Record that should be included into the DNS records.
URL:
https://api.mailmonitorapp.com/mma/dmarc/generateRecord
HTTP Method(s):
POST
Request:
JSON request object with the following fields:
domain - String. Required
policy - String (NONE, QUARANTINE, REJECT). Required
subdomainPolicy - String (NONE, QUARANTINE, REJECT). Required
spfIdentifier - String (RELAXED, STRICT). Required
dkimIdentifier - String (RELAXED, STRICT). Required
JSON example request:
{
"domain": "test.com",
"policy": "NONE",
"subdomainPolicy": "NONE",
"spfIdentifier": "RELAXED",
"dkimIdentifier": "RELAXED"
}
Response:
JSON usage summary object with the following fields:
dmarcRecord: TXT Record to be included in DNS records
JSON example response:
{
"dmarcRecord": "v=DMARC1;p=none;sp=none;pct=100;adkim=r;aspf=r;rua=mailto:TTTTEST@dmarcmntr.com;ruf=mailto:TTTTEST@dmarcmntr.com;fo=0:1:d:s"
}