Create a webhook endpoint
Register a publicly reachable HTTPS URL. The whsec_ signing secret in the response is returned only once; store it securely right away.
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 POST 'https://shixux.com/api/v1/webhook-endpoints' \ -H 'X-API-Key: yb_xxx_yyy' \ -H 'Content-Type: application/json' \ -d '{"name":"production","url":"https://example.com/webhooks/shixu"}'{ "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", "signing_secret": "example"}application/json- body
name*stringLength
1 <= length <= 120url*stringFormat
uriLength
1 <= length <= 2083Request 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-timesigning_secret*stringMatch
^whsec_