Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

quo-webhooks

БесплатноЗапускает вложенные скриптыНе проверен

Receive and verify Quo webhooks (quo.com — the business phone / VoIP platform formerly known as OpenPhone). Use when setting up a Quo webhook handler…

hookdeckот hookdeck★ 104 звезды на GitHub

Об этом скилле

Quo Webhooks

Quo (quo.com) is a business phone / VoIP platform. It sends webhooks for calls, messages, contacts and tasks.

Quo is the platform formerly known as OpenPhone. The support docs say so verbatim: "Send real-time notifications of Quo, formerly OpenPhone, events to your applications". The rebrand is why the legacy signature header is still called openphone-signature, and why older community material talks about OpenPhone webhooks. API host is https://api.quo.com; docs live at www.quo.com/docs and support.quo.com.

Not Quoter. Quoter (help.quoter.com) is an unrelated CPQ / sales-quoting company with an MD5-based hash form field (not a header). Quo uses HMAC-SHA256. Two different companies, two entirely different signing schemes. Also not Quora, not the Quo card/loyalty app, and not Twilio.

When to Use This Skill

  • How do I receive Quo (OpenPhone) webhooks?
  • How do I verify a Quo webhook signature?
  • Why is my webhook-signature / openphone-signature verification failing?
  • How do I handle message.received, call.completed, or call.summary.completed events?
  • What is the difference between data.resource and data.object in a Quo payload?
  • How do I deduplicate Quo webhook deliveries?
  • Does Quo send a validation / challenge request when I add an endpoint?

Two Generations, Two Signature Schemes

This is the first thing to get right. Which scheme an endpoint receives is decided by how the webhook subscription was created, not by anything you configure on your server. A handler that may receive both must implement both.

Scheme A — current Scheme B — legacy
Created via POST /webhooks with Quo-Api-Version: 2026-03-30 legacy /v1/webhooks/messages, /v1/webhooks/calls, …
Header(s) webhook-id, webhook-timestamp, webhook-signature openphone-signature (single header)
Header format webhook-signature: v1,<base64> v1,<base64> (space-separated) hmac;1;1639710054089;mw1K4fv…= (semicolon-separated, 4 fields)
Signed content {webhook-id}.{webhook-timestamp}.{raw-body} {timestamp}.{raw-body}
Timestamp unit UNIX seconds UNIX milliseconds (inferred — see below)
Secret key from POST /webhooks, whsec_<base64> app → webhook → ⋯ → "Reveal signing secret", bare base64
Envelope data.resource / data.context / data.links data.object
apiVersion "2026-03-30" "v2" ("v3" for AI events)

Both are HMAC-SHA256 with a standard base64 digest (not base64url, not hex), and both sign the raw, unparsed request body bytes.

Verification (core)

Both schemes base64-decode their secret to raw key bytes before use, and both concatenate a prefix onto the raw body bytes — never onto a re-serialized JSON string.

const crypto = require('crypto');

// Scheme A — headers webhook-id / webhook-timestamp / webhook-signature.
// Key is `whsec_<base64>`: strip the prefix, then base64-DECODE the remainder.
function verifyQuo(rawBody, { id, timestamp, signature }, key) {
  if (!id || !timestamp || !signature || !key) return false;          // fail closed
  const ts = Number(timestamp);                                        // UNIX SECONDS
  if (!Number.isFinite(ts) || Math.abs(Date.now() / 1000 - ts) > 300) return false;

  const secret = Buffer.from(key.replace(/^whsec_/, ''), 'base64');
  const signed = Buffer.concat([Buffer.from(`${id}.${timestamp}.`), Buffer.from(rawBody)]);
  const expected = crypto.createHmac('sha256', secret).update(signed).digest('base64');

  // SPACE-separated `v1,<sig>` entries; accept if ANY v1 entry matches.
  return signature.split(' ').some((entry) => {
    const [version, sig] = entry.trim().split(',');
    if (version !== 'v1' || !sig) return false;
    const a = Buffer.from(sig), b = Buffer.from(expected);
    return a.length === b.length && crypto.timingSafeEqual(a, b);   // length guard first
  });
}
// Scheme B — legacy `openphone-signature: hmac;1;<ms-timestamp>;<base64sig>`.
// Secret is bare base64 (no whsec_ prefix) from the Quo app.
function verifyQuoLegacy(rawBody, header, signingSecret) {
  if (!header || !signingSecret) return false;
  const key = Buffer.from(signingSecret, 'base64');
  // COMMA-separated today only in theory; the docs reserve it for future multi-sig.
  return header.split(',').some((part) => {
    const [scheme, version, timestamp, sig] = part.trim().split(';');
    if (scheme !== 'hmac' || version !== '1' || !timestamp || !sig) return false;
    const signed = Buffer.concat([Buffer.from(`${timestamp}.`), Buffer.from(rawBody)]);
    const expected = crypto.createHmac('sha256', key).update(signed).digest('base64');
    const a = Buffer.from(sig), b = Buffer.from(expected);
    return a.length === b.length && crypto.timingSafeEqual(a, b);
Полный SKILL.md на GitHub

Установить quo-webhooks в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

TODO.mdexamples/express/.env.exampleexamples/express/README.mdexamples/express/package.jsonexamples/express/src/index.jsexamples/fastapi/.env.exampleexamples/fastapi/README.mdexamples/fastapi/main.pyexamples/fastapi/requirements.txtexamples/fastapi/test_webhook.pyexamples/nextjs/.env.exampleexamples/nextjs/README.mdexamples/nextjs/app/webhooks/quo/route.tsexamples/nextjs/package.jsonexamples/nextjs/vitest.config.tsreferences/overview.mdreferences/setup.mdreferences/verification.md

FAQ

Что делает скилл quo-webhooks?

Receive and verify Quo webhooks (quo.com — the business phone / VoIP platform formerly known as OpenPhone). Use when setting up a Quo webhook handler, debugging signature verification, or handling call and message events like message.received, call.completed, call.summary.completed, call.transcript.completed, contact.updated or task.created. Quo has TWO signature schemes: the current versioned API (Quo-Api-Version 2026-03-30) uses Standard Webhooks / Svix-style webhook-id + webhook-timestamp + webhook-signature headers, while the legacy v1 API still sends the OpenPhone-era openphone-signature header (hmac;1;timestamp;signature). Not Quoter (CPQ, MD5 `hash` form field), not Quora, not Twilio.

Как установить скилл quo-webhooks?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл quo-webhooks запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить quo-webhooks с