curl --request POST \
--url https://app.spotzee.com/api/ext/generic/email/spf-generator \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data domain=example.com{
"status": "success",
"data": {
"record": "v=spf1 ip4:192.168.1.0/24 include:_spf.google.com ~all",
"warnings": [
"SPF record exceeds 10 DNS lookups limit"
],
"details": {
"version": "spf1",
"mechanisms": [
"ip4:192.168.1.0/24",
"include:_spf.google.com"
],
"policy": "~all"
}
}
}Generates a properly formatted SPF (Sender Policy Framework) record for a domain. Supports IPv4/IPv6 addresses, hostnames, include mechanisms, and various policies. The generated record helps prevent email spoofing and improves deliverability.
curl --request POST \
--url https://app.spotzee.com/api/ext/generic/email/spf-generator \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data domain=example.com{
"status": "success",
"data": {
"record": "v=spf1 ip4:192.168.1.0/24 include:_spf.google.com ~all",
"warnings": [
"SPF record exceeds 10 DNS lookups limit"
],
"details": {
"version": "spf1",
"mechanisms": [
"ip4:192.168.1.0/24",
"include:_spf.google.com"
],
"policy": "~all"
}
}
}Bearer token authentication. Use format: Bearer YOUR_API_KEY
Domain name
"example.com"
Keep existing SPF record entries
"false"
Allow IP addresses to send email
"true"
Allow MX servers to send email
"true"
Comma-separated list of hostnames allowed to send email
Comma-separated list of IPv4 addresses or CIDR blocks
Comma-separated list of IPv6 addresses or CIDR blocks
Comma-separated list of domains to include in SPF record
SPF policy: -all (fail), ~all (softfail), ?all (neutral), +all (pass)
-all, ~all, ?all, +all "~all"
Successfully generated SPF record
Indicates successful operation
success Hide child attributes
Generated SPF record
"v=spf1 ip4:192.168.1.0/24 include:_spf.google.com ~all"
Warnings about the SPF record
["SPF record exceeds 10 DNS lookups limit"]Was this page helpful?