# AgentMail Domain Verification

> AgentMail Domain Verification is a free API for AI agents from x402.api.agentmail.to, callable via x402, Free, status unknown (last checked 2026-09-15).

Verifies a domain registered with AgentMail so it can be used for sending and receiving emails via AI agent inboxes

## Facts

- Endpoint: POST https://x402.api.agentmail.to/v0/domains/%7Bdomain_id%7D/verify
- Price: Free
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentmail-domain-verification-f1540b04
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3-tcqAreDa4bimqDXZzGB

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-verification-f1540b04 -d '<json body>'
```

Example prompt: Verify my AgentMail domain with ID 'dom_abc123' so I can start using it to send and receive emails through my agents.

## When to prefer this

Use this endpoint after registering or adding a new domain to AgentMail and completing the required DNS configuration. It is the necessary step to activate the domain before agents can send or receive email from it. Prefer this over checking domain status (a read operation) when you actually want to trigger or complete the verification process.

## Known failure modes

- Domain ID not found — returns 404 if the domain_id does not exist in the workspace
- Domain already verified — may return a conflict or idempotent success response
- DNS records not yet propagated — verification fails if required DNS entries aren't in place
- Invalid domain_id format — returns 400 for malformed input
- Authentication failure — returns 401 if credentials are missing or invalid

## 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 response indicating whether the domain verification succeeded, likely including updated domain status and verification details.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "domain_id": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

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