domain or uid, or verify up to 50 domains at once by passing domains or uids as an array. The response always returns a results array with per-domain verification details, along with an aggregated summary.healthy - All four email records are correctly configured and in synccritical - One or more records are missing or in an error state, which will likely cause email delivery failuresissues_found - Records exist but some have incorrect values, which may affect email authenticationunknown - No email platform could be detected for this domainok - Record is present and has the correct valuemissing - Record does not exist and needs to be createdmisconfigured - Record exists but has an incorrect valueerrored - Record failed to sync and needs to be re-syncedpending - Record was recently created or updated and is waiting to propagatenot_applicable - Record is not relevant for this domain (for example, DKIM before a mailbox has been set up)curl --location 'https://api.inboxkit.com/v1/api/dns/verify' \
--header 'X-Workspace-Id;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"domain": "example.com"
}'{
"error": false,
"message": "Bulk DNS verification completed: 1 domain verified",
"summary": {
"total_requested": 1,
"total_verified": 1,
"total_failed": 0,
"healthy": 1,
"critical": 0,
"issues_found": 0,
"needs_repair": 0
},
"results": [
{
"domain": "example.com",
"domain_uid": "3340bae3-53c3-4ab8-9c61-1d8205b86c70",
"status": "success",
"platform": "GOOGLE",
"cloudflare_checked": true,
"overall_health": "healthy",
"needs_repair": false,
"records": [
{
"label": "MX",
"type": "MX",
"host": "@",
"status": "ok",
"current_value": "smtp.google.com",
"expected_value": "smtp.google.com",
"issue": null,
"fix_description": null
},
{
"label": "SPF",
"type": "TXT",
"host": "@",
"status": "ok",
"current_value": "v=spf1 include:_spf.google.com ~all",
"expected_value": "v=spf1 include:_spf.google.com ~all",
"issue": null,
"fix_description": null
},
{
"label": "DMARC",
"type": "TXT",
"host": "_dmarc",
"status": "ok",
"current_value": "v=DMARC1; p=reject; pct=100; rua=mailto:[email protected]; ruf=mailto:[email protected]; ri=604800; aspf=s; adkim=s",
"expected_value": "v=DMARC1; p=reject; pct=100; rua=mailto:[email protected]; ruf=mailto:[email protected]; ri=604800; aspf=s; adkim=s",
"issue": null,
"fix_description": null
},
{
"label": "DKIM",
"type": "TXT",
"host": "google._domainkey",
"status": "ok",
"current_value": "v=DKIM1; k=rsa; p=MIIBIjAN...",
"expected_value": "v=DKIM1; k=rsa; p=MIIBIjAN...",
"issue": null,
"fix_description": null
}
],
"record_summary": {
"total_checked": 4,
"ok": 4,
"missing": 0,
"misconfigured": 0,
"errored": 0,
"pending": 0,
"not_applicable": 0,
"out_of_sync": 0
}
}
]
}