# AgentMail Get Domain Details

> AgentMail Get Domain Details is a free API for AI agents from x402.api.agentmail.to, callable via x402, Free, status unknown (last checked 2026-09-08, last successful call 2026-06-20).

Retrieves details about a specific email domain within an AgentMail pod

## Facts

- Endpoint: GET https://x402.api.agentmail.to/v0/pods/%7Bpod_id%7D/domains/%7Bdomain_id%7D
- Price: Free
- Payment: x402
- Status: unknown
- Last checked: 2026-09-08
- Last successful call: 2026-06-20
- Success rate: 100% of calls made through Zero
- Activations on Zero: 3
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentmail-get-domain-details-be840098
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BFH1zg37wl9Uq7eF7Huib

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-get-domain-details-be840098
```

Example prompt: Can you fetch the details for domain ID 'acme-corp' inside AgentMail pod 'pod-42abc' so I can see its configuration?

## When to prefer this

Use this endpoint when you need to inspect or verify the configuration of a specific email domain within an AgentMail pod, particularly before sending or receiving messages, or when auditing domain setup for agentic workflows.

## Known failure modes

- Pod ID not found — 404 Not Found
- Domain ID not found within the given pod — 404 Not Found
- Invalid or missing authentication — 401 Unauthorized
- Malformed path parameters — 400 Bad Request
- Pod or domain access forbidden — 403 Forbidden

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

Returns a JSON object containing the details and configuration of the specified email domain within the given pod, including domain metadata relevant to the agent email infrastructure.

## 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",
      "domain_id"
     ],
     "properties": {
      "pod_id": {
       "type": "string"
      },
      "domain_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-get-domain-details-be840098/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)
