curl --request GET \
--url https://api.arkhq.io/v1/domains/{domainId} \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"id": "123",
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "mail.example.com",
"verified": true,
"dnsRecords": {
"spf": {
"type": "TXT",
"name": "mail.example.com",
"value": "v=spf1 include:spf.arkhq.io ~all",
"status": "OK"
},
"dkim": {
"type": "TXT",
"name": "mail.example.com",
"value": "v=spf1 include:spf.arkhq.io ~all",
"status": "OK"
},
"returnPath": {
"type": "TXT",
"name": "mail.example.com",
"value": "v=spf1 include:spf.arkhq.io ~all",
"status": "OK"
}
},
"createdAt": "2023-11-07T05:31:56Z",
"verifiedAt": "2023-11-07T05:31:56Z"
},
"meta": {
"requestId": "req_V1StGXR8_Z5jdHi6"
}
}Get detailed information about a domain including DNS record status
curl --request GET \
--url https://api.arkhq.io/v1/domains/{domainId} \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"id": "123",
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "mail.example.com",
"verified": true,
"dnsRecords": {
"spf": {
"type": "TXT",
"name": "mail.example.com",
"value": "v=spf1 include:spf.arkhq.io ~all",
"status": "OK"
},
"dkim": {
"type": "TXT",
"name": "mail.example.com",
"value": "v=spf1 include:spf.arkhq.io ~all",
"status": "OK"
},
"returnPath": {
"type": "TXT",
"name": "mail.example.com",
"value": "v=spf1 include:spf.arkhq.io ~all",
"status": "OK"
}
},
"createdAt": "2023-11-07T05:31:56Z",
"verifiedAt": "2023-11-07T05:31:56Z"
},
"meta": {
"requestId": "req_V1StGXR8_Z5jdHi6"
}
}Use your API key from arkhq.io/org/credentials
Authorization: Bearer YOUR_API_KEYDomain ID or domain name