Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.63 Home All releases olderv2.1.62 v2.1.64newer
Claude Code v2.1.63

HTTP Hooks (Now Functional)

What

HTTP hooks, previously stubbed with "HTTP hooks are not yet supported," are now fully implemented and operational.

Usage
{
  "hooks": {
    "PostToolUse": [{
      "matcher": "Write",
      "hooks": [{
        "type": "http",
        "url": "https://hooks.example.com/on-write",
        "headers": { "Authorization": "Bearer $MY_TOKEN" },
        "allowedEnvVars": ["MY_TOKEN"]
      }]
    }]
  }
}
Details
  • Sends POST requests with hook input as JSON body
  • Supports environment variable interpolation in headers via $VAR_NAME or ${VAR_NAME} syntax
  • SSRF protection: private/link-local addresses are blocked; loopback (127.0.0.1, ::1) is allowed for local development
  • New managed setting allowedHttpHookUrls for organization-level URL allowlisting with wildcard support (e.g., "https://hooks.example.com/*")
  • New managed setting httpHookAllowedEnvVars restricts which environment variables hooks can interpolate, intersecting with per-hook allowedEnvVars
  • Responses must be valid JSON
Evidence

HTTP hook execution code (search for "Hooks: HTTP hook POST to", "ERR_HTTP_HOOK_BLOCKED_ADDRESS", "allowedHttpHookUrls")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.63 →