---
title: "Verify Domain Route"
method: POST
path: "/domains/verify"
tags: ["domains"]
---

# Verify Domain Route

`POST /domains/verify`

## Request

- Base URL: `https://dnsdoctor.dev/api/v1`
- URL: `https://dnsdoctor.dev/api/v1/domains/verify`
- Auth: none required

Check the ownership TXT record, and mark verified on a match.

200 for every outcome, including the failures: the poll is caller-driven, so
"not published yet" is a normal answer, not an error. `outcome` says WHICH —
and a `transient` outcome is our lookup, never a verdict about their DNS.

## Request body

- DomainIn: `POST /v1/domains` — a bare domain, the same shape as `ScanIn`.
  - `domain` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dnsdoctor/apis/dns-doctor-api.md) · [All operations](https://skmtc.dev/dnsdoctor/apis/dns-doctor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dnsdoctor/apis/dns-doctor-api/revisions/1d0114806e76?raw)
