Webhooks · API Reference
Update Webhook
Partially updates a webhook. Change the `targetUrl`, the subscribed `eventTypes`, or the `state`. Set `state` to `DISABLED` to pause deliveries without deleting the subscription.
PATCH
/v1/webhooks/{id}Scope:
webhooks:writePath Parameters
idstringrequired
The webhook ID to update.
Request Body
targetUrlstringoptional
New destination URL.
eventTypesarrayoptional
New event list. Fully replaces the current subscription.
stateenumoptional
Set to `DISABLED` to pause delivery without deleting.
ACTIVEDISABLEDResponses
{
"id": "whk_xxxxxxxxxxxx",
"targetUrl": "https://yourapp.com/webhooks/eureka",
"eventTypes": ["call.ended", "tool_call"],
"state": "ACTIVE"
}PlaygroundPATCH
AuthorizationPath
{id}requiredBody
targetUrloptionaleventTypesoptionalstateoptional