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

# List Domains

`GET /v0/domains`

## Request

- Base URL: `https://api.agentmail.to`
- URL: `https://api.agentmail.to/v0/domains`
- Auth: HTTP bearer

**CLI:**
```bash
agentmail domains list
```

## 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.
    - `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.

---

[API](https://skmtc.dev/agentmail-to/apis/agentmail-cli-speakeasy-api.md) - [All operations](https://skmtc.dev/agentmail-to/apis/agentmail-cli-speakeasy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agentmail-to/apis/agentmail-cli-speakeasy-api/revisions/869b7f1c360c?raw)
