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:write
Path Parameters
id
stringrequired

The webhook ID to update.

Request Body
targetUrl
stringoptional

New destination URL.

eventTypes
arrayoptional

New event list. Fully replaces the current subscription.

state
enumoptional

Set to `DISABLED` to pause delivery without deleting.

ACTIVEDISABLED
Responses
{
  "id": "whk_xxxxxxxxxxxx",
  "targetUrl": "https://yourapp.com/webhooks/eureka",
  "eventTypes": ["call.ended", "tool_call"],
  "state": "ACTIVE"
}
PlaygroundPATCH
Authorization

Path

{id}required

Body

targetUrloptional
eventTypesoptional
stateoptional