Rotate the Signing Secret
Generate a fresh signing secret. By default rotation opens a 24-hour
dual-signature grace window: the new secret signs immediately, and the
outgoing secret keeps signing as a second v1= entry in
X-Webhook-Signature until previous_secret_expires_at. A verifier
that matches ANY entry keeps accepting deliveries, so you can deploy
the new secret without dropping events.
Pass ?immediate=true to skip the window — the old secret stops
verifying at once. Use this when rotating a leaked secret, accepting
that deliveries to a not-yet-updated endpoint will fail verification.
The new secret is shown once in the response. Store it now.
Authorizations
Per-request DPoP proof JWT (RFC 9449). MUST accompany the Authorization: DPoP <access_token> header on every protected operation. The proof is signed by the merchant's private DPoP key and carries htm, htu, iat, jti, and ath claims.
Headers
Unique key identifying this operation. Sending the same key twice returns the original response instead of creating a duplicate. Keys are retained for 24 hours.
255Path Parameters
^whk_[a-zA-Z0-9]+$Query Parameters
When true, skip the dual-signature grace window: the previous secret is dropped at once and previous_secret_expires_at is null.
Response
Rotated. Response carries the new secret.