Manage Domains
Verify domain
Changed onTriggers a verification check for the specified DNS record type. Before calling this endpoint, add the required DNS records to your domain's DNS configuration. You can get the required records by calling the Get domain info endpoint.
post/v3/admin/domains/{domain_id}/verify
Request
- Base URLhttps://api.us.nylas.com
- Auth
- HTTP bearer
- or HTTP bearer
Request body
Example request
{
"type": "dkim"
}Response
OK
Example response
{
"request_id": "5fa64c92-e840-4357-86b9-2aa364d35b88",
"data": {
"domain_id": "abc-123-domain-id",
"attempt": {
"type": "ownership",
"options": {
"host": "@",
"type": "TXT",
"value": "nylas-ownership-verify=gNIeZAtY1lPUEpWOhA2XBB..."
}
},
"status": "done",
"created_at": 1742932766,
"expires_at": 1743537566,
"message": "Domain ownership verified successfully."
}
}Changes
- info
added the optional property
/to the response with the status
- info