Skip to main content
POST
Generate SPF record

Authorizations

Authorization
string
header
required

Bearer token authentication. Use format: Bearer YOUR_API_KEY

Body

application/x-www-form-urlencoded
domain
string
required

Domain name

Example:

"example.com"

keep_existing
boolean

Keep existing SPF record entries

Example:

"false"

allow_ip_to_send_email
boolean

Allow IP addresses to send email

Example:

"true"

allow_mx_to_send_email
boolean

Allow MX servers to send email

Example:

"true"

hostnames_to_send_email
string

Comma-separated list of hostnames allowed to send email

ipv4
string

Comma-separated list of IPv4 addresses or CIDR blocks

ipv6
string

Comma-separated list of IPv6 addresses or CIDR blocks

other_includes
string

Comma-separated list of domains to include in SPF record

policy
enum<string>

SPF policy: -all (fail), ~all (softfail), ?all (neutral), +all (pass)

Available options:
-all,
~all,
?all,
+all
Example:

"~all"

Response

Successfully generated SPF record

status
enum<string>
required

Indicates successful operation

Available options:
success
data
object
required