How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

AgentMail webhooks API

The webhooks API from AgentMail — 2 operation(s) for webhooks.

AgentMail webhooks API is one of 29 APIs that AgentMail publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Webhook. The published artifact set on APIs.io includes an OpenAPI specification, an AsyncAPI specification, API documentation, and an API reference.

This API exposes 5 operations across 2 paths, and defines 24 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against 4 base URLs: https://api.agentmail.to, https://x402.api.agentmail.to, https://mpp.api.agentmail.to, https://api.agentmail.eu.

5 operations 2 paths 24 schemas 1 DELETE2 GET1 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://api.agentmail.to
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

AgentMail webhooks API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (Bearer).

Paths & Operations 5

Across 2 paths, the API surfaces 5 operations — 1 DELETE, 2 GET, 1 PATCH, 1 POST. Each is listed below with its method, path, parameters, and response codes.

webhooks 5
GET
/v0/webhooks
List Webhooks
list 4 params → 200
POST
/v0/webhooks
Create Webhook
create 1 param body → 200400
GET
/v0/webhooks/{webhook_id}
Get Webhook
get 2 params → 200404
PATCH
/v0/webhooks/{webhook_id}
Update Webhook
update 2 params body → 200400404
DELETE
/v0/webhooks/{webhook_id}
Delete Webhook
delete 2 params → 200404

Schemas 24

The contract defines 24 schemas that model the data the API accepts and returns. The most detailed are type_webhooks_Webhook (10 properties), type__ValidationErrorResponse (6 properties), type_webhooks_CreateWebhookRequest (5 properties), type_webhooks_UpdateWebhookRequest (5 properties). Each schema is shown below with its type and property counts.

type_events_EventTypes
array
Event types for which to send events.
type_webhooks_Webhook
object
10 properties 6 required
type_events_InboxIds
array
Inboxes for which to send events. Maximum 10 per webhook.
type_webhooks_CreateWebhookEventTypes
Full list of event types this webhook should receive. At least one type is required. Send every type you want in this array (not incremental). See [Webhooks ov…
type__ErrorFix
string
The concrete next action that resolves the error.
type__Count
integer
Number of items returned.
type_webhooks_WebhookId
string
ID of webhook.
type__ValidationErrorResponse
object
6 properties 2 required
type__ErrorName
string
Name of error.
type__ErrorResponse
object
5 properties 2 required
type_webhooks_ClientId
string
Client ID of webhook.
type__ErrorMessage
string
Error message.
type__PageToken
string
Page token for pagination.
type_events_EventType
string
type__ErrorCode
string
Stable, machine-readable error code in snakecase (for example, notfound or missingpermission). Branch on this rather than the message text.
type__Limit
integer
Limit of number of items returned.
type_events_PodIds
array
Pods for which to send events. Maximum 10 per webhook.
type_webhooks_Url
string
URL of webhook endpoint.
type_webhooks_ListWebhooksResponse
object
4 properties 2 required
type_webhooks_UpdateWebhookEventTypes
When you send a non-empty list, it replaces the webhook's subscribed event types in full (the same "set the list" behavior as create). It is not a merge or dif…
type_webhooks_CreateWebhookRequest
object
5 properties 2 required
type__Ascending
boolean
Sort in ascending temporal order.
type_webhooks_UpdateWebhookRequest
object
5 properties
type__ErrorDocs
string
Link to the error reference entry for this code.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

agentmail-webhooks-api-openapi.yml Raw ↑

Other APIs AgentMail publishes across the network.

AgentMail agent API
AgentMail api-keys API
AgentMail auth API
AgentMail domains API
AgentMail drafts API
AgentMail inboxes > api-keys API
AgentMail inboxes API
AgentMail inboxes > drafts API
AgentMail inboxes > events API
AgentMail inboxes > lists API
AgentMail inboxes > messages API
AgentMail inboxes > metrics API
Where this information came from

This is an independent, third-party profile of AgentMail webhooks API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.