AccountWebhooks
Update a webhook subscription
Updates the fields present in the body — url, events, active, account_relationship — and leaves the rest untouched.
- events: replaces the whole list, it does not add to it, so an event left out of it stops being delivered.
- active: setting it to false stops deliveries without discarding the delivery history. A subscription we turned off ourselves (deactivated_by: beel) needs a successful test delivery before it can be turned back on. Turning a subscription back on counts towards the limit of 10 active subscriptions, and is rejected with 400 WEBHOOK_ACTIVE_SUBSCRIPTION_LIMIT_REACHED when ten are already active.
- Signing secret: not touched here. Rotate it with POST /v1/accounts/{account_id}/webhooks/{webhook_id}/secret.
patch/v1/accounts/{account_id}/webhooks/{webhook_id}
Request
- Base URL: https://app.beel.es/api
- URL: https://app.beel.es/api/v1/accounts/{account_id}/webhooks/{webhook_id}
- Auth: HTTP bearer
Request body
Example request
{
"url": "https://yourapp.com/webhooks/beel"
}Response
Webhook subscription updated
Example response
{
"success": true,
"meta": {
"timestamp": "2025-01-15T10:30:00Z",
"request_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}
}