# AgentMail Get Webhook

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

Retrieve the details of a specific webhook by its ID from the AgentMail email API for AI agents

## Facts

- Endpoint: GET https://x402.api.agentmail.to/v0/webhooks/%7Bwebhook_id%7D
- Price: Free
- Payment: x402
- Status: unknown
- Last checked: 2026-09-08
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentmail-get-webhook-e4258652
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eMXux-w4V6RDN8j32AEOT

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-webhook-e4258652
```

Example prompt: Can you fetch the details of my AgentMail webhook with ID 'wh_abc123' so I can check its current configuration?

## When to prefer this

Use this endpoint when you need to inspect or verify the configuration of a specific AgentMail webhook before relying on it in an agentic workflow, or when debugging email event delivery issues for an AI agent inbox.

## Known failure modes

- 404 Not Found if the webhook_id does not exist
- 401 Unauthorized if the API credentials are invalid or missing
- 400 Bad Request if webhook_id is malformed
- Empty response body if no webhook metadata is available

## 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 webhook's details including its ID, configuration, endpoint URL, status, and any associated settings for the AgentMail inbox.

## 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": [
      "webhook_id"
     ],
     "properties": {
      "webhook_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-webhook-e4258652/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)
