GuideMembers

Managed Agents webhooks signature verification

Managed Agents Webhooks is a shared guide in Anthropic's claude-api skill for developers who want Anthropic to POST to their HTTPS endpoint when a session or vault changes state. It is an alternative to holding an event stream open or polling, and every delivery is HMAC-signed.

What it does

Payloads are thin, carrying the event type and resource IDs, so you fetch the resource for current state. Endpoints subscribe per event type and get a whsec signing secret shown once.

How to use it

Register the endpoint in the Console under Manage, Webhooks, store the secret, and verify each delivery with client.beta.webhooks.unwrap, which also rejects payloads older than about five minutes.

Requirements and limits

Endpoints must be HTTPS on port 443 with a public hostname, there is no API for managing them yet, and the page does not cover third-party webhooks that start sessions.

More in Guides and the Claude Code library.

What it covers

  • Register an endpoint Console only
  • Verify the signature
  • Payload envelope
  • Supported data.type values
  • Delivery behavior & pitfalls

The full text is in the members library

Book a call and we will give you access to the full Claude Code library: every entry in full, search by meaning, copy and download.

Source and license

Source: https://github.com/anthropics/skills/blob/main/skills/claude-api/shared/managed-agents-webhooks.md

Author: anthropics, Anthropic skills. License: Apache-2.0.

Related entries