Verify Domain
Check DNS and mark the domain verified when records match.
MethodPOST
/api/v2/domains/:domain/verifyRe-checks DNS and updates verification status. :domain is a MailDomain id or hostname. Permission: domains.
Path Parameters
| Name | Type | Description |
|---|---|---|
domain | string | Required. MailDomain id or hostname. |
Response Fields
| Field | Type | Description |
|---|---|---|
status | string | Lumail domain status after the check. |
isVerified | boolean | true when SES identity is verified. |
verificationStatus | string | SES identity verification status. |
dkimVerificationStatus | string | DKIM status. |
mailFromStatus | string | MAIL FROM status. |
dnsRecords | array | Per-record DNS status. |
id | string | MailDomain id when present. |
Errors
| Status | name | When |
|---|---|---|
| 401 | missing_api_key | Missing or invalid bearer token |
| 403 | missing_permission | Token lacks the domains permission |
| 404 | not_found | Unknown id or hostname |