The agent app's webhook signing secret.
The exact request bytes. Passing a re-serialized string only works when it matches the original bytes, so prefer the raw body.
The Payload-Signature header value.
false for a missing, malformed, or mismatched signature.
Verifies the deprecated body-only
Payload-Signaturein constant time using WebCrypto, which is available on Node.js 20+, Cloudflare Workers, Deno, and Bun. Prefer verifyShortcutWebhookHeaders, which checksShortcut-Signatureand its timestamp window. Do not use it for session events, since it would accept one replayed withoutShortcut-Signature.