Webhooks
Update a webhook subscription
Partial update. Any combination of url, events, description, or status may be supplied. Changes to url are re-validated against the SSRF / scheme / port rules. Setting status to "active" re-enables an auto-disabled subscription.
patch/api/v1/webhook-subscriptions/{id}
Path parameters
idstring required
Example:whsub_3f7a9b1c8d2e4f5a6b7c8d9e0f1a2b3c
The public subscription id returned by POST /api/v1/webhook-subscriptions — shaped whsub_<32 hex chars>.
Request body
Response
Subscription updated.
Example response
{
"data": {
"id": "whsub_3f7a9b1c8d2e4f5a6b7c8d9e0f1a2b3c",
"url": "https://hooks.example.com/prezent",
"secret_prefix": "whsec_",
"events": [
"autogeneration.completed",
"autogeneration.failed"
],
"description": "Push completions into our deal-room worker."
}
}