whatnot-webhooks
БесплатноЗапускает вложенные скриптыНе проверенReceive and verify Whatnot webhooks (whatnot.com — the live-shopping and livestream-auction marketplace). Use when building a Whatnot developer app that…
от hookdeck★ 104 звезды на GitHubОб этом скилле
Whatnot Webhooks
Whatnot (whatnot.com) is a live-shopping marketplace where sellers run
livestream auctions and buy-it-now sales. This skill covers webhooks from the
Whatnot developer platform (developers.whatnot.com). Whatnot signs every
delivery with Standard Webhooks (webhook-id, webhook-timestamp,
webhook-signature).
Canonical docs: Webhooks guide and the per-topic reference.
Whatnot replaced its webhook system in October 2026. If your handler reads
X-Whatnot-Webhook-Signatureor routes ontopic, it's on the old system. See Deprecated: the pre-2026-10 webhook system.
When to Use This Skill
- How do I receive Whatnot webhooks?
- How do I verify a Whatnot
webhook-signature? - Why does my Whatnot signature check fail with a
wn_wh_secret? - How do I handle
orders.created,shows.startedorshipments.label_generated? - How do I subscribe to a Whatnot webhook topic?
- How do I migrate from
X-Whatnot-Webhook-Signatureandproduct/sold-style topics?
Verification (core)
| Header | Value |
|---|---|
webhook-id |
UUID, unique per event. Retries reuse it, so it's the dedupe key |
webhook-timestamp |
Unix seconds when this attempt was sent. Changes on every retry |
webhook-signature |
One or more space-separated v1,<base64 HMAC-SHA256> entries |
Signed content is {webhook-id}.{webhook-timestamp}.{raw body}. The key is
the dashboard secret with its wn_wh_ prefix stripped, then base64-decoded.
Reject timestamps more than 5 minutes from your clock.
const crypto = require('crypto');
function verifyWhatnot(rawBody, headers, secret) {
const id = headers['webhook-id'], ts = headers['webhook-timestamp'], sigs = headers['webhook-signature'];
if (!id || !ts || !sigs) return false;
if (Math.abs(Date.now() / 1000 - Number(ts)) > 300) return false; // 5-minute tolerance
const key = Buffer.from(secret.replace(/^wn_wh_/, ''), 'base64'); // strip, then decode
const expected = Buffer.from(
crypto.createHmac('sha256', key).update(`${id}.${ts}.${rawBody}`).digest('base64')
);
return sigs.split(' ').some((entry) => {
const [version, sig = ''] = entry.split(',');
const received = Buffer.from(sig);
return version === 'v1' && received.length === expected.length && crypto.timingSafeEqual(received, expected);
});
}
import base64, hashlib, hmac, time
def verify_whatnot(raw_body: bytes, headers, secret: str) -> bool:
msg_id, ts, sigs = headers.get("webhook-id"), headers.get("webhook-timestamp"), headers.get("webhook-signature")
if not (msg_id and ts and sigs) or abs(time.time() - int(ts)) > 300: # 5-minute tolerance
return False
key = base64.b64decode(secret.removeprefix("wn_wh_")) # strip, then decode
digest = hmac.digest(key, f"{msg_id}.{ts}.".encode() + raw_body, hashlib.sha256)
expected = base64.b64encode(digest).decode()
for entry in sigs.split(" "):
version, _, sig = entry.partition(",")
if version == "v1" and hmac.compare_digest(sig, expected):
return True
return False
The examples use the official standardwebhooks library (npm ^1.1.1,
PyPI >=1.1.0) instead. Strip wn_wh_ before passing the secret to it. The
library only strips its own whsec_ prefix. With wn_wh_ left on, the Node
library throws and the Python library silently decodes the wrong key, so every
check fails.
const { Webhook } = require('standardwebhooks');
const event = new Webhook(process.env.WHATNOT_WEBHOOK_SECRET.replace(/^wn_wh_/, ''))
.verify(rawBody, headers); // returns the parsed event; throws → respond 400
For complete handlers with tests, see examples/express/, examples/nextjs/, examples/fastapi/.
There is no Whatnot SDK for webhook verification.
Envelope
{
"type": "shows.started",
"timestamp": "2026-10-20T16:00:00.123Z",
"data": { "show_id": "9b2f6c1e-4d3a-4f8b-a1c2-3d4e5f6a7b8c" },
"version": "v2",
"seller_id": "1234567"
}
- Route on
type. There's no event-type header. - The topic-specific payload is under
data. Most topics send the same object the REST API returns, such as an order. timestampis when the event happened (ISO 8601, millisecond precision) and is stable across retries.seller_idis part of the signed body, so multi-seller apps can route on it.- There's no event
idin the body. Dedupe on thewebhook-idheader.
Topics
Each topic needs a scope that both your app and the seller's installation hold, or that seller's events aren't delivered.
| Topic | Scope | data |
|---|---|---|
orders.created |
read:orders |
Order |
orders.updated |
`re |
Установить whatnot-webhooks в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл whatnot-webhooks?
Receive and verify Whatnot webhooks (whatnot.com — the live-shopping and livestream-auction marketplace). Use when building a Whatnot developer app that handles topics like orders.created, orders.updated, shows.started, shows.ended, shipments.label_generated or products.updated, when debugging webhook-id / webhook-timestamp / webhook-signature (Standard Webhooks) verification with a wn_wh_ secret, or when migrating off the deprecated X-Whatnot-Webhook-Signature scheme. Whatnot signs base64 HMAC-SHA256 over `{webhook-id}.{webhook-timestamp}.{raw body}`, keyed with the base64-decoded secret after stripping `wn_wh_`, with a 5-minute timestamp tolerance. Route on the body's `type`; the payload is under `data`.
Как установить скилл whatnot-webhooks?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл whatnot-webhooks запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic