---
title: "Verify a domain"
method: POST
path: "/user/domains"
tags: ["Verified Domains"]
---

# Verify a domain

`POST /user/domains`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/user/domains`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Verifies the account's ownership of a domain and every name below it.
Verify a registrable domain such as `example.com` to cover all of its
subdomains, or a delegated subdomain you control.

Publish a TXT record named `_volcano.<domain>`, then send this request.
Without the record, the response is `409` with
`code: ownership_verification_required` and the `required_record` to
publish. Its value stays the same until Volcano rotates the key it is
derived from. The record must be served at that name itself; a record
reached through a CNAME does not count.

When another account verified the domain, publishing your record moves
the domain to your account once that account's record is no longer
published. Keep your record published so the domain stays yours. After
Volcano rotates the key the value is derived from, only a record with
the new value counts.

Verifying a domain the account already verified returns `200`.

## Request body

- VerifyDomainRequest
  - `domain` string, required: The domain to verify, such as `example.com`.

## Response `200`

The account had already verified the domain

- VerifiedDomain: A domain the account owns, along with every name below it.
  - `domain` string, required
  - `verified_at` string, date-time, required: When the account last proved ownership.

## Other responses

- `201`: Domain verified
- `400`: Bad request - invalid domain or a public suffix
- `401`: Not authenticated
- `409`: Conflict - the ownership record is not published yet, or another account owns the domain
- `500`: Failed to verify the domain
- `501`: Domain verification is unavailable in local mode
- `503`: Service unavailable - DNS did not answer whether another account's record is still published; retry later

## Changes

- **2026-10-07** `23e7875e7c4c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/user/domains/post.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
