Skip to main content
POST
/
api
/
ext
/
generic
/
email
/
spf-lookup
Lookup SPF record
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"
    }
  }
}

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"

Response

Successfully retrieved SPF record

status
enum<string>
required

Indicates successful operation

Available options:
success
data
object
required