# AgentMail List Domains

> AgentMail List Domains is a free API for AI agents from AgentMail at mpp.api.agentmail.to, callable via MPP, Free, status unknown (last checked 2026-10-12).

Lists all email domains registered in the AgentMail account, with pagination support.

## Facts

- Endpoint: GET https://mpp.api.agentmail.to/v0/domains?utm_source=zero.xyz
- Price: Free
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Provider: AgentMail
- Docs: https://docs.agentmail.to
- Website: https://agentmail.to
- Tags: email, inboxes, domains, drafts, threads, webhooks, messaging, ai, social
- Canonical page: https://www.zero.xyz/c/agentmail-domains-6eabf776
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AmxY5kF3l6-u5-1jV72WA

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentmail-domains-6eabf776
```

Example prompt: Show me all the email domains I have set up in my AgentMail account — list them oldest first and return up to 20.

## When to prefer this

Use this endpoint when an AI agent needs to enumerate all email domains available in an AgentMail account before creating inboxes, routing messages, or validating that a specific domain exists. Prefer this over creating a domain when you need to audit existing configuration or drive downstream logic based on what domains are already registered.

## Known failure modes

- 401 Unauthorized if the Bearer token is missing or invalid
- Empty domains array if no domains have been created yet
- next_page_token absent when there are no further pages
- Malformed page_token resulting in a 400 or unexpected results

## How this service works

List Domains

## Output

Returns a paginated list of domain objects, each containing the domain name (domain_id), creation and update timestamps, whether feedback (bounce/complaint) notifications are enabled, and optional pod and client IDs. Also includes a total count and a next_page_token for pagination.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer",
   "title": "Limit",
   "description": "Limit of number of items returned."
  },
  "ascending": {
   "type": "boolean",
   "title": "Ascending",
   "description": "Sort in ascending temporal order."
  },
  "page_token": {
   "type": "string",
   "title": "PageToken",
   "description": "Page token for pagination."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "title": "ListDomainsResponse",
 "required": [
  "count",
  "domains"
 ],
 "properties": {
  "count": {
   "type": "integer",
   "title": "Count",
   "description": "Number of items returned."
  },
  "limit": {
   "type": "integer",
   "title": "Limit",
   "description": "Limit of number of items returned."
  },
  "domains": {
   "type": "array",
   "items": {
    "type": "object",
    "title": "DomainItem",
    "required": [
     "domain_id",
     "feedback_enabled",
     "updated_at",
     "created_at"
    ],
    "properties": {
     "pod_id": {
      "type": "string",
      "title": "PodId",
      "description": "ID of pod."
     },
     "client_id": {
      "type": "string",
      "title": "ClientId",
      "description": "Client ID of domain."
     },
     "domain_id": {
      "type": "string",
      "title": "DomainId",
      "description": "The name of the domain. (e.g., \" your-domain.com\")"
     },
     "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Time at which the domain was created."
     },
     "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "Time at which the domain was last updated."
     },
     "feedback_enabled": {
      "type": "boolean",
      "title": "FeedbackEnabled",
      "description": "Bounce and complaint notifications are sent to your inboxes."
     }
    }
   },
   "description": "Ordered by `created_at` descending."
  },
  "next_page_token": {
   "type": "string",
   "title": "PageToken",
   "description": "Page token for pagination."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentmail-domains-6eabf776/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mpp.api.agentmail.to](https://www.zero.xyz/host/mpp.api.agentmail.to/llms.txt)
