Rotate the endpoint's signing secret
Mint a new plaintext signing secret and persist it as the
canonical secret for the endpoint. The response carries the
plaintext once; future reads expose only secretLast4.
In-flight deliveries finish signing with the previous secret; anything enqueued after the rotation lands uses the new one. Plan a brief overlap window in your receiver if you can’t afford a single missed verification.
Not idempotent — every call generates a fresh secret. Requires
the webhooks:manage scope.
Documentation Index
Fetch the complete documentation index at: https://apidocs.scripe.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Pass Authorization: Bearer scripe_sk_live_<...> (or
scripe_sk_test_<...> for test keys) on every request. Keys
are scoped to a single workspace and can be revoked from the
Scripe dashboard.
Headers
Pin the API version. Format YYYY-MM-DD. Omit to receive the
currently rolling default. Unknown versions return 400 version_unsupported.
"2026-08-01"
Path Parameters
"whe_a1b2c3d4e5f6g7h8"
Response
Secret rotated. Response carries the new plaintext secret.
Display-safe shape of a webhook endpoint. The plaintext signing
secret is never present here — only secretLast4. Use
WebhookEndpointWithSecret (returned by create + rotate) when
the plaintext matters.