Common capabilitiesAPI referenceWebhooksUpdate a webhook endpoint

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"}

Path Parameters

endpoint_id*string

Request Body

application/json
  1. body
Properties1 <= properties
name?string
Length1 <= length <= 120
url?string
Formaturi
Length1 <= length <= 2083
enabled?boolean

Response Body

Request succeeded

application/json
  1. response
id*string
Match^whe_[a-f0-9]{32}$
name*string
Lengthlength <= 120
url*string
Formaturi
Lengthlength <= 2083
enabled*boolean
secret_version*integer
Range1 <= value
last_delivery_at?|null
last_success_at?|null
last_failure_at?|null
created_at*string
Formatdate-time
updated_at*string
Formatdate-time

On this page