Skip to main content
POST
/
api
/
ext
/
generic
/
email
/
mx-lookup
Lookup MX records
curl --request POST \
  --url https://app.spotzee.com/api/ext/generic/email/mx-lookup \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data domain=example.com
{
  "status": "success",
  "data": {
    "exists": true,
    "records": [
      {
        "exchange": "mail.example.com",
        "priority": 10
      }
    ],
    "domain": "<string>"
  }
}

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 MX records

status
enum<string>
required

Indicates successful operation

Available options:
success
data
object
required