Update a webhook
PATCH
https://myagentmail.com/v1/webhooks/{id}For agents View as Markdown
Change url, events, or enabled state.
Path parameters
idrequired string |
Request body
Content-Type: application/json
urlstring | format: uri |
events"message.received" | "message.sent" | "message.bounced"[] | |
isActiveboolean |
Responses
200Updated
Authentication
Send your API key in the X-API-Key header (or Authorization: Bearer <key>). Any prefix accepted by this endpoint — tk_, wk_, ak_, or sa_ — is documented in the key prefix table.