# AgentMail Get Domain

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

Retrieves the details and DNS verification status of a specific email domain registered with AgentMail

## Facts

- Endpoint: GET https://mpp.api.agentmail.to/v0/domains/:domain_id?utm_source=zero.xyz
- Price: Free
- 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-domain-id-3e279eb1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oxSUn6i-SotRa1TxoMNLN

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-domain-id-3e279eb1
```

Example prompt: What's the current verification status of my AgentMail domain 'mycompany.com' — show me which DNS records are valid, missing, or invalid so I know what still needs to be configured.

## When to prefer this

Use this endpoint when you need to check the current DNS verification status of a specific domain registered with AgentMail, retrieve the exact DNS records (TXT, CNAME, MX) required for domain setup, or monitor whether a domain has successfully completed verification before sending emails through AI agent inboxes.

## Known failure modes

- domain_id not found — 404 if the specified domain does not exist under this account
- missing or invalid Authorization header — 401 unauthorized
- domain_id path parameter not provided — 422 validation error
- network timeout or server error — 500 internal server error

## How this service works

Get Domain

## Output

Returns a Domain object containing the domain_id, verification status (NOT_STARTED, PENDING, INVALID, FAILED, VERIFYING, or VERIFIED), a list of required DNS records (TXT, CNAME, MX) each with their name, value, and status (MISSING, INVALID, or VALID), whether feedback (bounce/complaint notifications) is enabled, and timestamps for creation and last update.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "domain_id"
 ],
 "properties": {
  "domain_id": {
   "type": "string",
   "title": "DomainId",
   "description": "The name of the domain. (e.g., \" your-domain.com\")"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "title": "Domain",
 "required": [
  "domain_id",
  "status",
  "feedback_enabled",
  "records",
  "updated_at",
  "created_at"
 ],
 "properties": {
  "pod_id": {
   "type": "string",
   "title": "PodId",
   "description": "ID of pod."
  },
  "status": {
   "enum": [
    "NOT_STARTED",
    "PENDING",
    "INVALID",
    "FAILED",
    "VERIFYING",
    "VERIFIED"
   ],
   "type": "string",
   "title": "VerificationStatus"
  },
  "records": {
   "type": "array",
   "items": {
    "type": "object",
    "title": "VerificationRecord",
    "required": [
     "type",
     "name",
     "value",
     "status"
    ],
    "properties": {
     "name": {
      "type": "string",
      "description": "The name or host of the record."
     },
     "type": {
      "enum": [
       "TXT",
       "CNAME",
       "MX"
      ],
      "type": "string",
      "title": "RecordType"
     },
     "value": {
      "type": "string",
      "description": "The value of the record."
     },
     "status": {
      "enum": [
       "MISSING",
       "INVALID",
       "VALID"
      ],
      "type": "string",
      "title": "RecordStatus"
     },
     "priority": {
      "type": "integer",
      "description": "The priority of the MX record."
     }
    }
   },
   "description": "A list of DNS records required to verify the domain."
  },
  "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."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentmail-domain-id-3e279eb1/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)
