Get profile domain DNS status
Retrieve the DNS configuration status for a profile's domain.
Retrieve the DNS configuration status for a profile's domain.
This endpoint reports the state of MX, SPF, DKIM and DMARC records, including the actual records found and the suggested records required for correct email delivery.
Authorizations
AuthorizationstringRequired
API Token authentication
Path parameters
profileUuidstringRequiredExample:
Profile uuid parameter
550e8400-e09b-41d4-a716-400055000000Responses
200
Success response
application/json
domainstringOptionalExample:
example.com401
Unauthenticated response
application/json
500
Error response
application/json
get/api/reach/v1/profiles/{profileUuid}/domains/dns-status
GET /api/reach/v1/profiles/{profileUuid}/domains/dns-status HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"domain": "example.com",
"mx": {
"actual": [
{
"type": "MX",
"value": "mx1.example.com"
}
],
"suggested": [
{
"name": "@",
"type": "MX",
"value": "mx1.example.com"
}
],
"is_valid": true
},
"spf": {
"actual": [
{
"type": "MX",
"value": "mx1.example.com"
}
],
"suggested": [
{
"name": "@",
"type": "MX",
"value": "mx1.example.com"
}
],
"is_valid": true
},
"dkim": {
"actual": [
{
"type": "MX",
"value": "mx1.example.com"
}
],
"suggested": [
{
"name": "@",
"type": "MX",
"value": "mx1.example.com"
}
],
"is_valid": true
},
"dmarc": {
"actual": [
{
"type": "MX",
"value": "mx1.example.com"
}
],
"suggested": [
{
"name": "@",
"type": "MX",
"value": "mx1.example.com"
}
],
"is_valid": true
}
}Last updated
Was this helpful?