---
title: "Verify Subdomain Cf"
method: POST
path: "/api/domains/{domain_id}/hosting/verify-subdomain"
tags: ["hosting"]
---

# Verify Subdomain Cf

`POST /api/domains/{domain_id}/hosting/verify-subdomain`

## Request

- Base URL: `https://api-v1.unusual.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api-v1.unusual.ai/api/domains/{domain_id}/hosting/verify-subdomain`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/login`

Verify the Cloudflare custom hostname and settle the row's hosting_status
(D34 liveness predicate). Revives a dead/vanished hostname on the way.
Also driven by the desk DNS recheck tick, not just the DNS screens' poll.

## Path parameters

- `domain_id` string, required

## Headers

- `x-view-as` string, nullable

## Response `200`

Successful Response

- SubdomainVerifyResponse
  - `dns_configured` boolean, required
  - `ssl_status` string, required
  - `is_active` boolean, required
  - `errors` string[], nullable
  - `cname_target` string, nullable
  - `status` string, nullable
  - `subdomain` string, nullable
  - `dns_records` object[], nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/unusual/apis/dashboard-server.md) - [All operations](https://skmtc.dev/unusual/apis/dashboard-server/llms.txt) - [OpenAPI document](https://skmtc.dev/unusual/apis/dashboard-server/revisions/89f716930ead?raw)
