Skip to main content
POST
SPF / DKIM / DMARC Record Generator

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
domain
string

Domain

ttl
number

TTL

Required range: x >= 60
spfEnable
boolean

Generate SPF record

spfGoogle
boolean

Google Workspace (include:_spf.google.com)

spfMicrosoft
boolean

Microsoft 365 (include:spf.protection.outlook.com)

spfSendgrid
boolean

SendGrid (include:sendgrid.net)

spfMailchimp
boolean

Mailchimp (include:servers.mcsv.net)

spfMailgun
boolean

Mailgun (include:mailgun.org)

spfSes
boolean

Amazon SES (include:amazonses.com)

spfZoho
boolean

Zoho Mail (include:zoho.com)

spfPostmark
boolean

Postmark (include:spf.mtasv.net)

spfMechA
boolean

Authorize A records of this domain (a)

spfMechMx
boolean

Authorize MX records of this domain (mx)

spfIp4
string

Extra IPv4

spfIp6
string

Extra IPv6

spfCustomIncludes
string

Extra includes

spfAll
enum<string>

All Mechanism

Available options:
~all,
-all,
?all
dkimEnable
boolean

Generate DKIM record

dkimSelector
string

Selector

dkimKeyType
enum<string>

Key Type

Available options:
rsa,
ed25519
dkimPublicKey
string

Public Key (base64)

dmarcEnable
boolean

Generate DMARC record

dmarcPolicy
enum<string>

Policy

Available options:
none,
quarantine,
reject
dmarcSubdomainPolicy
enum<string>

Subdomain Policy

Available options:
inherit,
none,
quarantine,
reject
dmarcPct
number

Percent (pct)

Required range: 1 <= x <= 100
dmarcRua
string

Aggregate (rua)

dmarcRuf
string

Forensic (ruf)

dmarcAdkim
enum<string>

DKIM Alignment

Available options:
r,
s
dmarcAspf
enum<string>

SPF Alignment

Available options:
r,
s

Response

Tool output

outputs
object
required
tool
string
required

The tool's slug, echoing the {slug} in the request path.

tool_version
string
required

Output-contract version for this tool.

credits_used
integer
required

Credits this call consumed, after any settlement refund. 0 when metering is disabled.

credits_remaining
integer | null
required

Credits left in the current monthly allowance, or null when metering is disabled.

request_id
string

Correlation id, also sent as x-request-id.