---
title: "Get domain details"
method: GET
path: "/v1/domains/{id}"
tags: ["Domains"]
---

# Get domain details

`GET /v1/domains/{id}`

## Request

- Base URL: `https://smtpfa.st/api`
- URL: `https://smtpfa.st/api/v1/domains/{id}`
- Auth: HTTP bearer

Retrieve details for a single domain including its current verification status and DNS records.

## Path parameters

- `id` string, required

## Response `200`

Domain details

- Domain: POST /v1/domains returns id, domain, status, dns_records and created_at. GET /v1/domains/{id} adds the verification detail, a live DNS check of each record and the receiving settings.
  - `id` string, required
  - `domain` string, required
  - `status` 'pending' | 'verifying' | 'verified' | 'failed', required: GET /v1/domains/{id} answers pending for a verified domain whose required records are no longer live.
  - `receiving` object: Inbound email for the domain
    - `enabled` boolean
    - `status` 'disabled' | 'pending' | 'active' | 'failed'
    - `available` boolean: The team's plan includes inbound email
    - `eligible` boolean: The domain can turn receiving on
    - `mx_record` object
      - `name` string
      - `type` string
      - `priority` integer
      - `value` string
    - `checked_at` string, date-time, nullable
  - `verification_phase` 'verified' | 'dns_missing' | 'waiting_on_ses' | 'mail_from_pending' | 'failed'
  - `verification_message` string
  - `next_auto_check_at` string, date-time, nullable: Null once the domain is verified
  - `dkim_status` string
  - `spf_status` string
  - `dmarc_status` string
  - `mail_from_status` string
  - `mail_from_domain` string, nullable
  - `verified_at` string, date-time, nullable
  - `region` string
  - `provider` object: The DNS provider found from the NS records
    - `id` string
    - `name` string
    - `badge` string
    - `zone` string
  - `events` object[]: The verification steps and when each was done
    - `key` string
    - `label` string
    - `at` string, date-time, nullable
    - `done` boolean
  - `dns_records` DnsRecord[], required
    - `type` 'CNAME' | 'TXT' | 'MX', required
    - `name` string, required
    - `value` string, required
    - `ttl` string
    - `priority` integer, nullable: Set for MX records
    - `status` string: The verification status that covers this record
    - `purpose` string: DKIM authentication, SPF authorization, DMARC policy, MAIL FROM bounce delivery, MAIL FROM SPF or Inbound mail
    - `category` 'verification' | 'sending' | 'receiving'
    - `actual_value` string, nullable: GET /v1/domains/{id} only: what DNS answers now, several values joined with " | "
    - `live_check` 'match' | 'mismatch' | 'missing' | 'needs_include' | 'multiple_spf_records' | 'invalid_spf' | 'null', nullable: GET /v1/domains/{id} only: how the live value compares with the expected one. Null for the inbound MX record.
    - `actualValue` string, nullable: Same as actual_value, for older clients
    - `liveCheck` string, nullable: Same as live_check, for older clients
  - `created_at` string, date-time, required
  - `last_checked_at` string, date-time, nullable

## Other responses

- `401`: Invalid or missing API key
- `404`: Resource not found
- `429`: Rate limit exceeded - retry after the period indicated in the Retry-After header
- `500`: Internal server error

---

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