Update a webhook
Webhooks
Update Webhook
Update an existing webhook endpoint.
PATCH
Update a webhook
Endpoint
PATCH /webhooks/{webhook_id}
Partially updates an existing webhook. Only the fields you supply are changed; omitted fields keep their current values.
Path Parameters
Request Body
All fields are optional. Supply only what you want to change.Example Request
Disable a webhook and narrow its event filter, leaving the secret untouched:Responses
200 OK
The updated webhook (thesecret is never echoed — has_secret indicates whether one is set).
400 Bad Request
Input validation failed.404 Not Found
No webhook with that ID exists for the authenticated customer.500 Internal Server Error
Unexpected error occurred.Authentication
This endpoint requires authentication. You can only update webhooks owned by the authenticated customer.Authorizations
Path Parameters
ID of the webhook to update.
Body
application/json
Must be a valid URL starting with https.
Write-only. Omit to keep the current secret, send an empty string to remove it, or send a value to replace it.
Available options:
cdd_state_changed, monitoring_alert_fired, cdd_document_fetched, search_completed, alert_remediated, flow_run_completed, flow_run_failed Response
The updated webhook.
Unique ID for the webhook.
Whether a signing secret is configured. The secret itself is never returned.
Derived health: disabled when inactive, failing when the last delivery returned a non-2xx status, otherwise active.
Available options:
active, failing, disabled Timestamp of the most recent delivery attempt, or null if none.
HTTP status code of the most recent delivery attempt, or null if none.
Available options:
cdd_state_changed, monitoring_alert_fired, cdd_document_fetched, search_completed, alert_remediated, flow_run_completed, flow_run_failed