Skip to main content
Get domain details, including the DNS records that must be configured and their current resolution status.

Request Information​

Notes​

  • This endpoint performs live DNS queries. Do not poll it at high frequency.
  • To poll verification status, use Verify Sending Domain instead.
  • MatchStatus: 1 matched, 2 mismatch, 3 DNS query failed, 4 no result.
DomainIdstringrequired
Domain ID (passed via URL path parameter)
?

Response Format​

Field NameTypeDescription
ActionstringFixed value EmailDomainResponse
RetCodeintReturn code, 0 indicates success
MessagestringSuccess or error message
RequestUuidstringRequest UUID
DataobjectDomain details

Data Fields​

Field NameTypeDescription
DomainIdstringDomain ID
DomainstringSending domain
TriggerTypeint1 transactional, 2 marketing
Statusint0 disabled, 1 enabled, 2 banned
VerifyStatusint0 unverified, 1 verified, 2 failed
TrackedDomainstringTracking domain
OpenboolOpen tracking enabled
ClickboolClick tracking enabled
UnsubscribeboolUnsubscribe enabled
CreateTimeint64Creation time (Unix seconds)
UpdateTimeint64Update time (Unix seconds)
DomainDNSRecordarrayDNS records for the sending domain
TrackedDomainDNSRecordarrayDNS records for the tracking domain

DomainDNSRecord Fields​

Field NameTypeDescription
RecordTypestringTXT or MX
RecordHoststringHost record
MainDomainstringMain domain
RecordValuestringValue to configure
SecureTypestringspf, dkim, mx, or dmarc
StatusintPlatform-side record status
MatchStatusint1 matched, 2 mismatch, 3 query failed, 4 no result
ActualValuesarrayCurrent DNS resolution values
ActualErrorstringDNS query error, empty on success

TrackedDomainDNSRecord Fields​

Field NameTypeDescription
RecordTypestringTXT or CNAME
RecordHoststringHost record
RecordValuestringValue to configure
VerifyStatusint0 unverified, 1 verified, 2 failed
MatchStatusint1 matched, 2 mismatch, 3 query failed, 4 no result
ActualValuesarrayCurrent DNS resolution values
ActualErrorstringDNS query error, empty on success
HttpsboolWhether HTTPS is enabled
CertobjectCertificate info, returned only for HTTPS CNAME records

LANGUAGE

URL

GET
CURL Request▼
curl -X GET "https://api.uspeedo.com/api/v1/email/EmailDomain/ED202611061200001234" \
-H "Accept: application/json" \
-H "Authorization: Basic $(echo -n 'ACCESSKEY_ID:ACCESSKEY_SECRET' | base64)"

RESPONSE

Click Try It! to start a request and see the response here.