---
title: "Get an email domain"
method: GET
path: "/v1/email-domains/{domainId}"
tags: ["Email Domains"]
---

# Get an email domain

`GET /v1/email-domains/{domainId}`

## Request

- Base URL: `https://api.zavu.dev`
- URL: `https://api.zavu.dev/v1/email-domains/{domainId}`
- Auth: HTTP bearer

Fetch a domain with its DNS records and current status.

## Path parameters

- `domainId` string, required

## Response `200`

Domain details.

- object
  - `domain` EmailDomain, required
    - `id` string, required
    - `domain` string, required
    - `status` string, required: Overall verification status.
    - `dkimStatus` string, required
    - `dnsRecords` EmailDomainDnsRecord[]: DNS records to publish. Present when fetching a single domain or after adding one.
      - `type` string, required: DNS record type.
      - `name` string, required: Record host/name to create.
      - `value` string, required: Record value.
      - `priority` integer: Priority (MX records only).
      - `purpose` 'dkim' | 'spf' | 'dmarc' | 'mail_from' | 'ownership', required: What the record is for. `ownership` is a TXT at `_zavu-verification.<domain>`, returned only when another Zavu account also added this domain and neither has verified it: DKIM records are the same for everyone, so the domain verifies only once this account's own token is published.
      - `required` boolean, required: Whether the record is required to verify + send (DKIM) or recommended for deliverability.

## Other responses

- `401`: Unauthorized.
- `404`: Domain not found.

## Changes

> 80 revisions in range; 1 not diffed.

- **2026-07-25** `5cce7d79055c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/zavudev/apis/zavu-unified-messaging-layer-api/changes/v1/email-domains/:domainId/get.md)

---

[API](https://skmtc.dev/zavudev/apis/zavu-unified-messaging-layer-api.md) - [All operations](https://skmtc.dev/zavudev/apis/zavu-unified-messaging-layer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zavudev/apis/zavu-unified-messaging-layer-api/revisions/75bc777b0ffb?raw)
