Update a webhook endpoint
Change an endpoint's name, HTTPS URL or enabled state.
Authentication
API Key: X-API-Key: <API Key> or Authorization: Bearer <API Key>.
Credentials in the examples are placeholders. Replace them and run the examples on your server.
Code examples
curl -X PATCH 'https://shixux.com/api/v1/webhook-endpoints/endpoint_id_example' \ -H 'X-API-Key: yb_xxx_yyy' \ -H 'Content-Type: application/json' \ -d '{"name":"example","url":"https://example.com/resource","enabled":true}'{ "id": "example", "name": "example", "url": "https://example.com/resource", "enabled": true, "secret_version": 1, "created_at": "2026-10-06T10:00:00Z", "updated_at": "2026-10-06T10:00:00Z"}endpoint_id*stringapplication/json- body
Properties
1 <= propertiesname?stringLength
1 <= length <= 120url?stringFormat
uriLength
1 <= length <= 2083enabled?booleanRequest succeeded
application/json- response
id*stringMatch
^whe_[a-f0-9]{32}$name*stringLength
length <= 120url*stringFormat
uriLength
length <= 2083enabled*booleansecret_version*integerRange
1 <= valuelast_delivery_at?|nulllast_success_at?|nulllast_failure_at?|nullcreated_at*stringFormat
date-timeupdated_at*stringFormat
date-time