Skip to main content
POST
Replaces the HMAC signing secret (whsec_...) for one webhook endpoint. The new secret is returned exactly once in the response — it is never exposed by list endpoints, so store it immediately.

Headers

string
required
Bearer token formatted as Bearer gork_live_.... Requires the webhooks:write scope.

Path parameters

string
required
The webhook ID (whk_...).
Rotation takes effect immediately: deliveries signed with the old secret will fail your X-Gork-Signature verification. Update your verifier before or at the same time as rotating.

Response

object