---
search:
  tags:
    - Domains
    - POST
seo:
  description: >-
    Looks up the domain's DNS records now, rather than at Luna's next… Reference
    for the POST /_luna/domains/{tenant}/{name}/verify endpoint in the Luna API.
sidebar:
  label: Verify a domain
  badge: POST
title: Verify a domain
type: openapi-operation
---
Looks up the domain's DNS records now, rather than at Luna's next check, and returns where it stands.

`POST /_luna/domains/{tenant}/{name}/verify`

**Responses**

- `200` — The domain, verified or with why not.
- `default` — The request failed. The status says how and \`error.message\` says why.

Response example, 200:

```json
{
  "name": "string",
  "state": "pending",
  "error": "string",
  "records": [
    {
      "type": "string",
      "name": "string",
      "value": "string",
      "purpose": "string"
    }
  ],
  "createdMs": 0,
  "verifiedMs": 0,
  "notAfter": 0,
  "certificate": "string"
}
```
