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
ioDomain
string

Domain

ioTtl
number

TTL

Required range: x >= 60
ioSpfEnable
boolean

Generate SPF record

ioSpfGoogle
boolean

Google Workspace (include:_spf.google.com)

ioSpfMicrosoft
boolean

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

ioSpfSendgrid
boolean

SendGrid (include:sendgrid.net)

ioSpfMailchimp
boolean

Mailchimp (include:servers.mcsv.net)

ioSpfMailgun
boolean

Mailgun (include:mailgun.org)

ioSpfSes
boolean

Amazon SES (include:amazonses.com)

ioSpfZoho
boolean

Zoho Mail (include:zoho.com)

ioSpfPostmark
boolean

Postmark (include:spf.mtasv.net)

ioSpfMechA
boolean

Authorize A records of this domain (a)

ioSpfMechMx
boolean

Authorize MX records of this domain (mx)

ioSpfIp4
string

Extra IPv4

ioSpfIp6
string

Extra IPv6

ioSpfCustomIncludes
string

Extra includes

ioSpfAll
enum<string>

All Mechanism

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

Generate DKIM record

ioDkimSelector
string

Selector

ioDkimKeyType
enum<string>

Key Type

Available options:
rsa,
ed25519
ioDkimPublicKey
string

Public Key (base64)

ioDmarcEnable
boolean

Generate DMARC record

ioDmarcPolicy
enum<string>

Policy

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

Subdomain Policy

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

Percent (pct)

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

Aggregate (rua)

ioDmarcRuf
string

Forensic (ruf)

ioDmarcAdkim
enum<string>

DKIM Alignment

Available options:
r,
s
ioDmarcAspf
enum<string>

SPF Alignment

Available options:
r,
s

Response

Tool output

tool
string
required
tool_version
string
required

Output-contract version for this tool. Currently "1" for all tools.

outputs
object
required
credits_used
integer
required

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

request_id
string
credits_remaining
integer | null

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