---
title: "Verify a domain"
method: GET
path: "/v1/domains/{domain}/verify"
tags: ["Domains"]
---

# Verify a domain

`GET /v1/domains/{domain}/verify`

## Request

- Base URL: `https://anjal.app`
- URL: `https://anjal.app/v1/domains/{domain}/verify`
- Auth: API key in header `X-API-Key`

Re-checks DNS records with the upstream ESP. If the domain is now verified, Mission Control atomically adds the new address as a primary alias on the inbox (preserving thread history). The first time this sees the domain verified, the `domain.verified` webhook fires.

## Response `200`

OK

- object
  - `domain` string
  - `status` 'pending' | 'verified' | 'failed'
  - `verified` boolean
  - `dnsRecords` DnsRecord[]
    - `type` 'TXT' | 'CNAME' | 'MX' | 'A'
    - `name` string
    - `value` string
    - `priority` integer, nullable
    - `status` 'pending' | 'verified', nullable
    - `note` string, nullable: Extra instructions for this record. On a shared domain the SPF record is merged into your existing one, and the note says to replace the existing record (a domain must have only one SPF record).
  - `sharedWith` 'google' | 'microsoft' | 'other' | 'null', nullable
  - `routingSteps` string[]: Present only for shared domains.
  - `message` string

---

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