Rotate the signing secret
Generate a new signing secret, returned only once. For 48 hours after rotation, notifications are signed with both the new and the previous secret; you cannot rotate again until this transition ends.
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/endpoint_id_example/rotate-secret' \ -H 'X-API-Key: yb_xxx_yyy'{ "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"}endpoint_id*stringRequest 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_