---
title: "List domains"
method: GET
path: "/email/domains"
tags: ["Domains"]
---

# List domains

`GET /email/domains`

## Request

- Base URL: `https://www.unitpost.com/api/v1`
- URL: `https://www.unitpost.com/api/v1/email/domains`
- Auth: HTTP bearer

Retrieve a list of your sending domains, cursor-paginated, with each domain's verification status. Add a new one with [Add a domain](#post-email-domains), or fetch a single domain (including its DNS records) with [Retrieve a domain](#get-email-domains-id). Requires the `domains:read` capability.

## Query parameters

- `limit` integer
- `after` string
- `before` string

## Response `200`

A page of domains.

- object
  - `object` 'list', required
  - `has_more` boolean, required
  - `data` Domain[], required
    - `object` 'domain', required
    - `id` string, required
    - `name` string, required
    - `status` 'pending' | 'verifying' | 'verified' | 'degraded' | 'failed', required
    - `records` object[], nullable, required
      - `type` string, required
      - `name` string, required
      - `value` string, required
      - `priority` number
    - `dkim_selector` string, nullable, required
    - `open_tracking` boolean, nullable, required
    - `click_tracking` boolean, nullable, required
    - `tls` 'opportunistic' | 'enforced', required
    - `tracking_subdomain` string, nullable, required
    - `tracking_verified_at` string, nullable, required: When tracked links and open pixels started using the custom tracking host (`tracking_subdomain`). Non-null only while sends actually use it: the domain is verified (or degraded) and the host's last check proved it answers over HTTPS. Otherwise null, and links use the default tracking host. A host that stops answering, or a domain that's no longer verified, goes back to null.
    - `verified_at` string, nullable, required
    - `created_at` string, required
    - `updated_at` string, required

## Other responses

- `401`: Missing or invalid API key.
- `422`: Invalid pagination params.

---

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