Skip to main content

Scan Domain DNS

Trigger a DNS verification scan for a domain. The scan runs asynchronously.


Endpoint

POST https://api.campaignlark.com/v1/domains/:id/scan-dns

Path Parameters

ParameterTypeRequiredDescription
idintegerrequiredThe domain ID.

Sample Request

POST https://api.campaignlark.com/v1/domains/1/scan-dns

Response

Success — 200 OK

{
"error": null,
"data": "The domain has been queued for DNS verification. Please check back in a few minutes."
}

Errors

StatusMessageCause
400Please provide a valid domain ID.id path param is missing or not a number.
400Various errorsDomain not found or scan failed.