# AgentMail List Webhooks

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

Retrieves the list of all configured webhooks for the authenticated AgentMail organization

## Facts

- Endpoint: GET https://x402.api.agentmail.to/v0/webhooks
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentmail-f1b6a310
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8TpSMlSK9yPanf6YLsG6k

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-f1b6a310
```

Example prompt: Show me all the webhooks currently registered in my AgentMail account so I can see what event endpoints are configured.

## When to prefer this

Use this endpoint when you need to audit, verify, or display the current webhook configuration for an AgentMail organization — for example, before adding a new webhook to avoid duplicates, or to retrieve webhook IDs needed for update/delete operations.

## Known failure modes

- Unauthorized (401) if authentication credentials are invalid or missing
- Empty list returned if no webhooks have been configured
- Rate limit exceeded (429) if too many requests are made in quick succession
- Service unavailable (503) if the AgentMail API is temporarily down

## How this service works

List Webhooks

## Output

Returns a JSON list of webhook objects registered to the organization, each containing webhook ID, target URL, event types subscribed to, and configuration details such as status and creation timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer",
   "title": "Limit",
   "description": "Limit of number of items returned."
  },
  "ascending": {
   "type": "boolean",
   "title": "Ascending",
   "description": "Sort in ascending temporal order."
  },
  "page_token": {
   "type": "string",
   "title": "PageToken",
   "description": "Page token for pagination."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "title": "ListWebhooksResponse",
 "required": [
  "count",
  "webhooks"
 ],
 "properties": {
  "count": {
   "type": "integer",
   "title": "Count",
   "description": "Number of items returned."
  },
  "limit": {
   "type": "integer",
   "title": "Limit",
   "description": "Limit of number of items returned."
  },
  "webhooks": {
   "type": "array",
   "items": {
    "type": "object",
    "title": "Webhook",
    "required": [
     "webhook_id",
     "url",
     "secret",
     "enabled",
     "updated_at",
     "created_at"
    ],
    "properties": {
     "url": {
      "type": "string",
      "title": "Url",
      "description": "URL of webhook endpoint."
     },
     "secret": {
      "type": "string",
      "description": "Secret for webhook signature verification."
     },
     "enabled": {
      "type": "boolean",
      "description": "Webhook is enabled."
     },
     "pod_ids": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "title": "PodIds",
      "description": "Pods for which to send events. Maximum 10 per webhook."
     },
     "client_id": {
      "type": "string",
      "title": "ClientId",
      "description": "Client ID of webhook."
     },
     "inbox_ids": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "title": "InboxIds",
      "description": "Inboxes for which to send events. Maximum 10 per webhook."
     },
     "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Time at which webhook was created."
     },
     "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "Time at which webhook was last updated."
     },
     "webhook_id": {
      "type": "string",
      "title": "WebhookId",
      "description": "ID of webhook."
     },
     "event_types": {
      "type": "array",
      "items": {
       "enum": [
        "message.received",
        "message.sent",
        "message.delivered",
        "message.bounced",
        "message.complained",
        "message.rejected",
        "domain.verified"
       ],
       "type": "string",
       "title": "EventType"
      },
      "title": "EventTypes",
      "description": "Event types for which to send events."
     }
    }
   },
   "description": "Ordered by `created_at` descending."
  },
  "next_page_token": {
   "type": "string",
   "title": "PageToken",
   "description": "Page token for pagination."
  }
 }
}
```

## More

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