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
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | required | The 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
| Status | Message | Cause |
|---|---|---|
400 | Please provide a valid domain ID. | id path param is missing or not a number. |
400 | Various errors | Domain not found or scan failed. |