Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.48 ·

HTTP Hooks

Entry
JSON All of v2.1.48
EntryKind: in v2.1.48,
ChangesSection of the release
What

A new hook type that sends HTTP POST requests instead of executing shell commands, enabling webhook-style integrations.

Usage (in settings.json or CLAUDE.md):

{
  "hooks": {
    "PreToolUse": [{
      "type": "http",
      "url": "https://your-server.com/hook",
      "headers": {
        "Authorization": "Bearer $MY_TOKEN"
      },
      "timeout": 30
    }]
  }
}
Details
  • Supports environment variable expansion in headers ($VAR_NAME or ${VAR_NAME} syntax)
  • Configurable timeout per request
  • JSON response parsing with optional logging
  • Works with all hook events including the new ConfigChange event
Evidence

New http hook type definition (search for "HTTP hook type")

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.48 →

Feedback