---
title: "Check DNS and activate a pending custom domain. Returns the domain's current state; callers poll this endpoint until status is active, or equivalently until both is_pending and is_stale are false."
method: POST
path: "/custom-domains/{customDomainId}/verify"
tags: ["Custom-domains"]
---

# Check DNS and activate a pending custom domain. Returns the domain's current state; callers poll this endpoint until status is active, or equivalently until both is_pending and is_stale are false.

`POST /custom-domains/{customDomainId}/verify`

## Path parameters

- `customDomainId` string, uuid, required

## Headers

- `Replo-Api-Version` '2026-08-21', required

## Response `200`

Check DNS and activate a pending custom domain. Returns the domain's current state; callers poll this endpoint until status is active, or equivalently until both is_pending and is_stale are false.

- object
  - `object` 'custom_domain', required
  - `id` string, uuid, required
  - `domain` string, required
  - `status` 'pending' | 'active' | 'stale', required
  - `is_pending` boolean, required
  - `is_stale` boolean, required
  - `dns_instructions` union, required
    - object
      - `type` 'root', required
      - `records` object[], required
        - `type` string, required
        - `host` string, required
        - `value` string, required
      - `verification_token` string, nullable, required
      - `verification_token_expires_at` string, nullable, required
    - object
      - `type` 'subdomain', required
      - `records` object[], required
        - `type` string, required
        - `host` string, required
        - `value` string, required

## Other responses

- `400` — Invalid request.
- `401` — Missing or invalid Replo Public API token.
- `403` — You are not authorized to access this resource.
- `404` — Not Found
- `409` — The resource is in a conflicting state.
- `429` — Too many requests. Please retry after the time indicated by the Retry-After header.
- `500` — An internal error occurred.
- `503` — Service temporarily unavailable.

---

[API](https://skmtc.dev/replo/apis/replo-public-api.md) · [All operations](https://skmtc.dev/replo/apis/replo-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/replo/replo-public-api/revisions/6f031f6819f4/schema)
