domain or uid, or repair up to 50 domains at once by passing domains or uids as an array. The response always returns a results array showing exactly what was fixed for each domain, along with an aggregated summary.added - A missing record was created with the correct valueupdated - An existing record was corrected to the right valuereset_to_pending - A failed record was reset so it can be re-syncedimported_from_cf - A correct record found in Cloudflare was imported into your accountreconciled_from_cf - A failed record was fixed using the correct value from Cloudflarecf_value_corrected - The Cloudflare copy of a record was out of date and has been re-syncedreset_for_cf_resync - A record that was missing from Cloudflare has been queued for re-syncduplicate_removed - An extra copy of a record was removedcurl --location 'https://api.inboxkit.com/v1/api/dns/repair' \
--header 'X-Workspace-Id;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"domain": "example.com"
}'{
"error": false,
"message": "Bulk DNS repair completed: 1 domain repaired",
"summary": {
"total_requested": 1,
"total_repaired": 1,
"total_failed": 0,
"total_actions": 0,
"total_added": 0,
"total_reset": 0,
"total_updated": 0,
"total_imported": 0,
"total_reconciled": 0,
"total_duplicates_removed": 0,
"total_skipped": 4
},
"results": [
{
"domain": "example.com",
"domain_uid": "3340bae3-53c3-4ab8-9c61-1d8205b86c70",
"status": "success",
"platform": "GOOGLE",
"cloudflare_checked": true,
"actions_taken": [],
"skipped": [
{ "label": "MX", "reason": "Record is healthy and in sync" },
{ "label": "SPF", "reason": "Record is healthy and in sync" },
{ "label": "DMARC", "reason": "Record is healthy and in sync" },
{ "label": "DKIM", "reason": "Record is healthy and in sync" }
],
"repair_summary": {
"added": 0,
"reset": 0,
"updated": 0,
"imported": 0,
"reconciled": 0,
"duplicates_removed": 0,
"skipped": 4,
"total_actions": 0
}
}
]
}