Rotate Webhook Signing Secret
Mint a new HMAC-SHA256 signing secret. The previous secret remains valid for 24 hours so you can update your verification code at your own pace, then drop the old secret.
The new secret is returned exactly once, in the secret field.
Authorizations
API key passed in the header
Path Parameters
Webhook id.
Response
New signing secret issued.
Same shape as WebhookPublic plus the freshly minted signing secret.
Returned ONLY by create and rotate-secret. Store it the first time —
Anchor never returns it again. If lost, rotate to mint a new one.
Webhook id. Use as the path parameter on subsequent calls.
"wh_01HXJ4MZ7K9P3Q6R8S2T4V5W7Y"
The project (team) the webhook belongs to.
"5d2c31f6-ab7e-481a-b6fd-8b4a96a4e197"
HTTPS URL Anchor will POST events to.
"https://your-app.example.com/anchor/webhooks"
Optional human-readable description.
256"Production task notifications"
Event types this webhook is currently subscribed to.
Catalog of webhook event types Anchor can deliver. Adding a new event type is a coordinated change between session-manager (publisher), webhook-dispatcher (consumer), and the dashboard.
task.completed, task.failed, task.cancelled, task.healed, session.completed, session.failed, session.recording.ready, batch.completed, batch.failed, intervention.requested, intervention.resolved, identity.authenticated, identity.authentication_failed When false, no events fan out to this webhook.
true
HMAC-SHA256 signing secret. Use this to verify the Anchor-Signature header on each delivery.
"36da51b166a69268a59a8d5ee0b32c9f5e5aaee7d301c7a5a36844318e116fc6"

