Update Webhook
Changed onUpdate inbox or pod subscriptions, or replace the webhook's event_types in full when you pass a non-empty event_types array (see request field docs). Inbox and pod changes use add/remove lists.
CLI:
agentmail webhooks update --webhook-id <webhook_id> --add-inbox-ids <inbox_id>
Request
- Base URLhttps://api.agentmail.to
- URLhttps://api.agentmail.to/v0/webhooks/{webhook_id}
- AuthHTTP bearer
Path parameters
ID of webhook.
Request body
Response
Response with status 200
Changes
- breaking
the request property
became not nullable - breaking
the request property
became not nullable - warning
removed from the request body
allOflist - warning
added the new
calendar.event.createdenum value to the/response property for the response status - warning
added the new
calendar.event.deletedenum value to the/response property for the response status - warning
added the new
calendar.event.endingenum value to the/response property for the response status - warning
added the new
calendar.event.respondedenum value to the/response property for the response status - warning
added the new
calendar.event.startingenum value to the/response property for the response status - warning
added the new
calendar.event.updatedenum value to the/response property for the response status - warning
added the new
message.openedenum value to the/response property for the response status - warning
added the new
message.security.completedenum value to the/response property for the response status - warning
added the new
message.security.overrideenum value to the/response property for the response status - warning
added the new
message.security.reviewenum value to the/response property for the response status - info
the endpoint scheme security
Bearerwas added to the API - info
the endpoint scheme security
BearerAuthwas removed from the API - info
api tag
webhooksadded - info
api tag
Webhooksremoved - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
request body became optional
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking
- breaking
added to the request body
allOflist - warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking