{"version":"2.1.48","anchor":"http-hooks","canonical_anchor":"http-hooks","heading":"HTTP Hooks","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.48\/e\/http-hooks","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.48","markdown":"### HTTP Hooks\n\n**What**\n\nA new hook type that sends HTTP POST requests instead of executing shell commands, enabling webhook-style integrations.\n\nUsage (in settings.json or CLAUDE.md):\n\n`{ \"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\"`)"}