What's wrong with this entry?
Anonymous. No account, no email.
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_NAMEor${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.