curl --request POST \
--url https://app.spotzee.com/api/ext/generic/email/spf-lookup \
--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"
}
}
}Retrieves and analyzes the current SPF record for a domain. Provides the raw record, parsed mechanisms, validation warnings, and suggestions for improvement.
curl --request POST \
--url https://app.spotzee.com/api/ext/generic/email/spf-lookup \
--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"
Successfully retrieved 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?