Update a webhook
Updates the configuration of an existing webhook endpoint.
Parameters
Path Parameters
id
string
Required
Webhook endpoint ID
Request Body
name
string
New name for the webhook
url
string
New endpoint URL
event_types
array
New list of subscribed events (replaces existing)
is_active
boolean
Enable or disable the webhook
retry_attempts
integer
Number of retry attempts (0-10)
timeout
integer
Request timeout in seconds (5-60)
auth_type
string (none | basic | bearer | custom)
auth_config
object
custom_headers
object
Returns
200
Webhook updated successfully
400
Validation error
401
Authentication required
404
Webhook not found
Related
Webhooks
PATCH/api/v1/webhooks/[id]