Update a webhook
PATCH
https://anjal.app/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.received.spam" | "message.sent" | "message.delivered" | "message.bounced" | "message.complained" | "message.rejected" | "message.opened" | "draft.send_failed" | "domain.verified" | "message.suspicious" | "message.quarantined" | "calendar.invite.received" | "calendar.invite.replied" | "calendar.invite.cancelled" | "calendar.invite.countered" | "account.suspended" | "account.payment_failed" | "account.subscription_ended"[] | |
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.