# AgentMail List Pod Domains

> AgentMail List Pod Domains is a paid API for AI agents from x402.api.agentmail.to, paid per call via x402, $10/call, status unknown (last checked 2026-09-08).

Lists all email domains associated with a specific AgentMail pod

## Facts

- Endpoint: GET https://x402.api.agentmail.to/v0/pods/%7Bpod_id%7D/domains
- Price: $10/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-08
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentmail-list-pod-domains-2c1cd435
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yWhncdb5ve1kRjHubNh9W

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-list-pod-domains-2c1cd435
```

Example prompt: Can you show me all the email domains available for my AgentMail pod with ID 'pod-abc123'?

## When to prefer this

Use this endpoint when an AI agent needs to discover which email domains are configured and available within a specific AgentMail pod before creating inboxes or sending messages. Prefer this over manually tracking domain configuration when managing multiple pods or when automating inbox provisioning workflows.

## Known failure modes

- Invalid or missing pod_id returns a 404 not found error
- Insufficient payment or failed x402 payment returns a 402 Payment Required error
- Unauthorized access to a pod not owned by the caller returns a 403 error
- Pod does not exist or has been deleted returns a 404 error
- Malformed pod_id format may return a 400 bad request

## How this service works

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

## Output

A JSON object listing all email domains associated with the specified pod, enabling the agent to know which domains are available for creating inboxes or sending messages.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "pathParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "pod_id"
     ],
     "properties": {
      "pod_id": {
       "type": "string"
      }
     },
     "additionalProperties": false
    },
    "queryParams": {
     "type": "object",
     "properties": {},
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  }
 },
 "additionalProperties": false
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

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