---
title: "Ask Custom Domain"
method: GET
path: "/api/custom_domain/ask"
tags: ["Custom Domain"]
---

# Ask Custom Domain

`GET /api/custom_domain/ask`

## Request

- Base URL: `https://app.getdot.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.getdot.ai/api/custom_domain/ask`
- Auth: none declared

TLS issuance gate for the ingress (Caddy on_demand_tls ask).

200 = this hostname is the verified custom domain of an entitled org, issue
a certificate; 404 = refuse. Must stay unauthenticated and cheap, and fail
closed: garbage SNI is rejected before any DB work, errors refuse issuance.

## Query parameters

- `domain` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getdot/apis/dot-api-2.md) · [All operations](https://skmtc.dev/getdot/apis/dot-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/getdot/apis/dot-api-2/revisions/d26fe7163a7f?raw)
