Skip to main content

Rotate webhook subscription signing secret

Rotate the HMAC signing secret for one subscription (new secret returned once).

POST/api/webhook-subscriptions/{subscription_id}/rotate-secret
Scope webhooks:writeUpdated September 27, 2026

This page documents the canonical HTTP contract. Switch to the CLI example when you want the operator workflow.

Replaces the HMAC secret used by subsequent delivery attempts. The new full secret is returned once. Delivery records use their snapshotted URL and retry settings, while workers load the current subscription secret when sending.

Path parameters

  • subscription_idrequired

    string

    Subscription ID.

Errors

StatusMeaning
401Invalid API key or missing auth.
403Missing webhooks:write scope.
404Subscription not found.

Docs