---
title: "List Domains"
method: GET
path: "/v0/pods/{pod_id}/domains"
tags: ["PodsDomains"]
---

# List Domains

`GET /v0/pods/{pod_id}/domains`

**CLI:**
```bash
agentmail pods:domains list --pod-id <pod_id>
```

## Path parameters

- `pod_id` string, required — ID of pod.

## Query parameters

- `limit` integer — Limit of number of items returned.
- `page_token` string — Page token for pagination.
- `ascending` boolean — Sort in ascending temporal order.

## Response `200`

- ListDomainsResponse
  - `count` integer, required — Number of items returned.
  - `limit` integer — Limit of number of items returned.
  - `next_page_token` string — Page token for pagination.
  - `domains` DomainItem[], required — Ordered by `created_at` descending.
    - `pod_id` string — ID of pod.
    - `domain_id` string, required — The ID of the domain.
    - `domain` string, required — The name of the domain (e.g., `example.com`).
    - `feedback_enabled` boolean, required — Bounce and complaint notifications are sent to your inboxes.
    - `subdomains_enabled` boolean, required — Allow inboxes on any subdomain of this domain. Adds a required wildcard MX record (`*.<domain>`) to `records`.
    - `client_id` string — Client ID of domain.
    - `updated_at` string, date-time, required — Time at which the domain was last updated.
    - `created_at` string, date-time, required — Time at which the domain was created.

## Other responses

- `404`

---

[API](https://skmtc.net/agentmail-to/apis/api.md) · [All operations](https://skmtc.net/agentmail-to/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agentmail-to/api/revisions/394ddcdd9c29/schema)
