ToolsController

Create a DMARC record policy

post/tools/generate-dmarc-record

Request

  • Base URL: https://api.mailslurp.com
  • URL: https://api.mailslurp.com/tools/generate-dmarc-record
  • Auth: API key in header x-api-key

Request body

domainstring required
version'DMARC1' required
policy'NONE' | 'QUARANTINE' | 'REJECT' required
subdomainPolicy'NONE' | 'QUARANTINE' | 'REJECT' nullable
reportEmailAddressstring[] nullable
forensicEmailAddressstring[] nullable
percentageinteger nullable
reportFormat'AFRF' nullable
secondsBetweenReportsinteger nullable
adkim'STRICT' | 'RELAXED' nullable
aspf'STRICT' | 'RELAXED' nullable
fo'FO_0' | 'FO_1' | 'FO_D' | 'FO_S' nullable

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.