Webhooks API
Rotate a Webhook signing secret
Issue a new signing secret for a webhook. By default the previous secret keeps verifying for 24 hours so a receiver can be updated without dropping deliveries; pass revokeImmediately to end that window at once. The new secret is returned only here.
POST
Node.js
Authorizations
Your Browserbase API Key.
Path Parameters
The webhook ID.
Body
application/json
Expire the old secret at once instead of honouring it for 24 hours. Use when responding to a leak; deliveries signed with the old secret stop verifying immediately.
Response
The new signing secret.
The new signing secret. Shown once; store it now.
The new signing secret, prefixed whsec_.