podium-webhooks
БесплатноЗапускает вложенные скриптыНе проверенReceive and verify Podium webhooks. Use when setting up Podium webhook handlers, debugging podium-signature verification (hex HMAC-SHA256 over…
от hookdeck★ 104 звезды на GitHubОб этом скилле
Podium Webhooks
Podium (podium.com) is a customer messaging, reviews and payments platform for local businesses.
Webhooks are created through the webhook API for one location or organization, and every delivery
of a webhook that has a secret is signed with HMAC-SHA256.
When to Use This Skill
- How do I receive Podium webhooks in Express, Next.js, or FastAPI?
- How do I verify the
podium-signatureheader? - Why does my Podium signature verification fail, or why are my Podium webhooks unsigned?
- How do I handle
message.received,contact.created,review.created,invoice.payment_succeededorcall.completedevents? - Where do I get the Podium webhook secret?
Set a secret when you create the Podium webhook. Webhooks created without one are unsigned and fail verification.
Signature at a Glance
| Property | Value |
|---|---|
| Signature header | podium-signature: bare lowercase hex digest (64 chars), no prefix |
| Timestamp header | podium-timestamp: Unix milliseconds, e.g. 1620936594591 |
| Algorithm | HMAC-SHA256, hex-encoded |
| Signed content | {podium-timestamp}.{raw request body} |
| Key | The webhook's secret as UTF-8 bytes, used as-is (not hex- or base64-decoded) |
| Replay window | None by default; opt in with PODIUM_WEBHOOK_TOLERANCE_SECONDS |
Verification (core)
Build the signed message as bytes: the timestamp header string as latin1, a literal ., then the
raw body bytes exactly as received. Never JSON.parse/JSON.stringify first.
const crypto = require('crypto');
function verifyPodium(rawBody /* Buffer */, signature, timestamp, secret) {
if (!secret || !signature || !timestamp) return false;
if (!/^[0-9a-fA-F]{64}$/.test(signature)) return false; // validate before decoding
const signed = Buffer.concat([Buffer.from(timestamp, 'latin1'), Buffer.from('.'), rawBody]);
const expected = crypto.createHmac('sha256', Buffer.from(secret, 'utf8')).update(signed).digest();
return crypto.timingSafeEqual(expected, Buffer.from(signature, 'hex')); // hex is case-insensitive
}
import hashlib, hmac, re
def verify_podium(raw_body: bytes, signature: str, timestamp: str, secret: str) -> bool:
if not (secret and signature and timestamp) or not re.fullmatch(r"[0-9a-fA-F]{64}", signature):
return False
signed = b"".join([timestamp.encode("latin-1"), b".", raw_body])
expected = hmac.new(secret.encode("utf-8"), signed, hashlib.sha256).digest()
return hmac.compare_digest(expected, bytes.fromhex(signature))
Missing or empty headers, a malformed signature or a mismatch all return 401. A missing secret
returns 500 (fail closed). An unsigned delivery (a webhook created without a secret) has no
podium-signature and is rejected.
Timestamp window: off by default. Hookdeck retries and replays resend the original headers and
timestamp, so a fixed window would reject legitimate retries.
The examples offer it as opt-in: set PODIUM_WEBHOOK_TOLERANCE_SECONDS=300 (unset or 0 = off;
the header is in milliseconds and the examples convert). The check runs after the signature check.
For complete handlers with tests, see examples/express/, examples/nextjs/, examples/fastapi/.
HTTP Methods
Podium's docs don't name the HTTP method of a delivery. Any method the sender uses must also be allowed on the Hookdeck source (custom methods). The examples accept GET, POST, PUT, PATCH and DELETE, verify the signature
first for every method, and treat a missing body as empty bytes. Read the body raw:
express.raw({ type: '*/*' }) (Express), await request.arrayBuffer() (Next.js), await request.body() (FastAPI).
Common Event Types
The body is { "data": {...}, "metadata": { "event_type": "...", "version": "..." } }. Dispatch on
metadata.event_type. Podium documents 26 event types; the examples handle these seven:
| Event | Triggered When |
|---|---|
message.received |
A message arrives for a location |
message.sent |
A message is sent |
contact.created |
A contact is created |
contact.updated |
A contact is updated |
review.created |
A review is posted |
invoice.payment_succeeded |
An invoice payment succeeds |
call.completed |
A call completes |
Others include message.failed, contact.deleted, contact.merged, review.updated,
invoice.created, invoice.payment_failed, call.missed and call.voicemail_left; see
references/overview.md.
Respond within 5 seconds (Podium times out after that); acknowledge fast and process asynchronously.
Environment Variables
PODIUM_WEBHOOK_SECRET=your_webhook_secret # the `secret` you set when creating the webhook
PODIUM_WEBHOOK_TOLERANCE_SECONDS=0 # optional replay window; unset or 0 = off
Local Development
Receive webhooks l
Установить podium-webhooks в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл podium-webhooks?
Receive and verify Podium webhooks. Use when setting up Podium webhook handlers, debugging podium-signature verification (hex HMAC-SHA256 over podium-timestamp + "." + raw body), creating the webhook with a secret, or handling message.received, contact.created, review.created, invoice.payment_succeeded and call.completed events.
Как установить скилл podium-webhooks?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл podium-webhooks запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
gtm-enterprise-account-planning
Strategic account planning and execution for enterprise deals. Use when planning complex sales cycles, managing multiple stakeholders, applying MEDDICC…
от GitHubgtm-partnership-architecture
Build and scale partner ecosystems that drive revenue and platform adoption. Use when building partner programs from scratch, tiering partnerships, managing…
от GitHublanding-page-conversion-audit
Audit a landing page, sales page or checkout page for conversion leaks and return a fix list ordered by expected revenue impact. Use when asked to review…
от GitHubpower-platform-architect
Use this skill when the user needs to transform business requirements, use case descriptions, or meeting transcripts into a technical Power Platform solution…
от GitHub