hume-webhooks
БесплатноЗапускает вложенные скриптыНе проверенDeprecated: Hume retired EVI and its webhooks on 2026-11-13. Receive and verify Hume EVI (speech-to-speech) webhooks. Use when setting up a Hume webhook…
от hookdeck★ 104 звезды на GitHubОб этом скилле
Hume Webhooks
Deprecated. Hume retired EVI on 2026-11-13. The EVI API now answers every request with a 404, and Hume's EVI docs redirect to its Audio Decisions product. EVI webhooks were the only webhooks Hume offered, so no new deliveries arrive. This skill is kept as a record of how they worked; don't build a new receiver from it.
Webhooks from Hume AI (hume.ai), the emotionally intelligent voice AI company. This skill covers EVI (speech-to-speech) webhooks only, which are configured on an EVI Config and report the lifecycle of EVI Chat sessions.
When to Use This Skill
- How do I receive Hume EVI webhooks?
- How do I verify the
X-Hume-AI-Webhook-Signatureheader? - Why is my Hume webhook signature verification failing?
- How do I handle
chat_started,chat_endedandtool_callevents? - How do I subscribe an EVI Config to webhook events?
Verification (core)
Hume signs each request with two headers:
X-Hume-AI-Webhook-Signature: <hex digest>
X-Hume-AI-Webhook-Timestamp: <unix epoch seconds>
The digest is HMAC-SHA256(signing key, "<raw body>.<timestamp>"), lowercase hex, sent bare with no prefix. Note the order: body first, then a period, then the timestamp. The key is the signing key's UTF-8 bytes, used as-is. Build the signed message as bytes: the raw body, a literal ., then the timestamp header exactly as received. Never decode and re-encode the body, and never JSON.parse / JSON.stringify before verifying.
const crypto = require('crypto');
function verifyHumeSignature(rawBody /* Buffer */, signatureHeader, timestampHeader, secret) {
if (!secret || !signatureHeader || !timestampHeader) return false;
// The whole header is one hex digest; validate format BEFORE decoding
if (!/^[0-9a-fA-F]{64}$/.test(signatureHeader)) return false;
const expected = crypto
.createHmac('sha256', secret)
.update(Buffer.concat([rawBody, Buffer.from('.'), Buffer.from(timestampHeader, 'latin1')]))
.digest();
const provided = Buffer.from(signatureHeader.toLowerCase(), 'hex'); // hex is case-insensitive
return provided.length === expected.length && crypto.timingSafeEqual(provided, expected);
}
Missing or empty signature or timestamp header, malformed value, or mismatch: respond 401.
For complete handlers with tests, see examples/express/, examples/nextjs/, examples/fastapi/.
Hume's docs show manual verification code and no verification helper in an SDK, so the examples implement the documented algorithm directly. The signing key is the account's webhook signing key: Hume platform → Developers page → Generate signing key.
Timestamp tolerance is opt-in
Hume's own example rejects deliveries more than 180 seconds old. This skill does not by default: Hookdeck retries and replays resend the original headers and timestamp, so a fixed window would reject legitimate retries. Set HUME_WEBHOOK_TOLERANCE_SECONDS to opt in (X-Hume-AI-Webhook-Timestamp is Unix seconds; unset or 0 = off). Because the timestamp is signed, it cannot be swapped for a fresh one.
Event Types
Dispatch on the body's event_name field.
event_name |
Triggered When | Key fields |
|---|---|---|
chat_started |
A Chat session starts (new or resumed) | chat_id, chat_group_id, config_id, start_time (ms), chat_start_type (new_chat_group or resumed_chat_group) |
chat_ended |
A Chat session ends | end_time (ms), duration_seconds, end_reason (e.g. USER_ENDED, USER_TIMEOUT, MAX_DURATION_TIMEOUT, INACTIVITY_TIMEOUT, ERROR) |
tool_call |
The model calls a tool during a Chat | timestamp (ms), tool_call_message with name, parameters (stringified JSON), response_required, tool_call_id, tool_type (builtin or function) |
Every payload also carries chat_group_id, chat_id, config_id, and optional caller_number (E.164, Twilio phone calls only) and custom_session_id (custom language models only). Timestamps inside payloads are milliseconds; the header timestamp is seconds.
Log and acknowledge any other event_name rather than failing.
Important Details
- Method:
POST. - Subscribing: add a
webhooksentry to an EVI Config:{ "url": "...", "events": ["chat_started", "chat_ended", "tool_call"] }. Only subscribed events are sent. - Rotating the key: generating a new signing key immediately invalidates the old one. Only admins can do it in an organization.
tool_callreplies: ifresponse_requiredis true, send the tool response (or a tool error) back to EVI through the Control Plane API; the webhook response body is not used for it.- Retries: Hume's webhook docs do not describe a retry or timeout policy. Respond quickly and process asynchronously.
- No delivery ID header. Build an idempotency key yourself, e.g.
chat_id+ `
Установить hume-webhooks в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл hume-webhooks?
Deprecated: Hume retired EVI and its webhooks on 2026-11-13. Receive and verify Hume EVI (speech-to-speech) webhooks. Use when setting up a Hume webhook handler, debugging X-Hume-AI-Webhook-Signature HMAC-SHA256 signature verification, or handling chat_started, chat_ended and tool_call events from Hume's emotionally intelligent voice AI.
Как установить скилл hume-webhooks?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл hume-webhooks запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic