Skip to main content
POST
Looks up the DNS records of the sending domain of each email account you send, live, with the same SPF, DKIM and DMARC checks as the app’s DNS verification. It only reads: the stored DNS status of the account is returned next to the live result and is not updated. Each domain is looked up once per call for each DKIM selector in use (accounts on the same domain with the same selector share one lookup); the account’s saved custom DKIM selector is tried first when it has one. Lookups that are not finished after 10 seconds are stopped and that account goes in failed; so do accounts not reached within the request’s 30-second time budget, and accounts whose from_email has no domain. Only your own email accounts are read; with a client API key, only that client’s. IDs that are not yours come back in not_found.

Query Parameters

string
required
Your SmartLead API key (a main or client key)

Request Body

array
required
Email account IDs (positive integers). 1 to 50 IDs. A repeated ID is read once.

Response Fields

boolean
true
string
When the lookups started (ISO 8601 date-time)
array
One item per account of yours that was checked, in ascending ID order.
array
The IDs you sent that are not email accounts of yours (or of your client, for a client key)
array
IDs of your accounts that were not checked: the lookup did not finish within 10 seconds (it was stopped), the request used its 30-second time budget before reaching them, or from_email has no domain. Retry those IDs.

Response Codes

Success
Request successful, also when none of the IDs is yours (then data is empty and every ID is in not_found)
Bad Request
email_account_ids is missing, empty, longer than 50 or has non-integer values, or the body has other keys
Unauthorized
Invalid or missing API key
Too Many Requests
More than 10 calls in 60 seconds to this endpoint per account (per key for a client key), on top of your plan’s overall API limit. Plain-text body; wait the number of seconds in the Retry-After header.
Internal Server Error
Server error; retry the request