stedi-webhooks
БесплатноЗапускает вложенные скриптыНе проверенReceive and verify Stedi event destination webhooks (healthcare EDI clearinghouse). Use when setting up a Stedi webhook endpoint, getting the whsec_ signing…
от hookdeck★ 104 звезды на GitHubОб этом скилле
Stedi Webhooks
Stedi is a healthcare EDI clearinghouse API (eligibility, claims, ERAs, payer enrollment). Its event destinations POST thin JSON events to your HTTPS URL, signed per the Standard Webhooks spec. This skill covers event destinations, not Stedi's Legacy webhooks.
When to Use This Skill
- How do I receive Stedi webhooks?
- How do I verify a Stedi webhook signature?
- Where do I find my Stedi event destination signing secret?
- How do I handle
transaction.processed,file.failedorenrollment.activatedevents? - Why is my Stedi
webhook-signatureverification failing, or failing only on retries? - How do I dedupe Stedi webhook retries?
Verification (core)
| Header | Value |
|---|---|
webhook-id |
msg_{UUID}, the same on every retry |
webhook-timestamp |
Unix seconds when Stedi created the event (not when it delivered it) |
webhook-signature |
v1,<base64 HMAC-SHA256>, several space-separated entries while a rotated secret is valid |
Signed content is {webhook-id}.{webhook-timestamp}.{raw body}, HMAC-SHA256, base64. The key is the base64-decoded part of the destination's secret after whsec_. Stedi's docs prose says timestamp.body (no id). That contradicts the Standard Webhooks spec and the standardwebhooks library the same page uses, so sign id.timestamp.body.
const crypto = require('crypto');
// rawBody: exact request bytes (express.raw({ type: '*/*' })), NOT re-serialised JSON
function verifyStediWebhook(rawBody, headers, secret) {
const key = Buffer.from(secret.replace(/^whsec_/, ''), 'base64');
const expected = crypto.createHmac('sha256', key)
.update(`${headers['webhook-id']}.${headers['webhook-timestamp']}.`)
.update(rawBody)
.digest('base64');
return headers['webhook-signature'].split(' ').some((entry) => {
const [version, sig] = entry.split(',');
const received = Buffer.from(sig || '');
return version === 'v1' && received.length === expected.length &&
crypto.timingSafeEqual(received, Buffer.from(expected));
});
}
The standardwebhooks package (new Webhook(secret).verify(rawBody, headers); Python: from standardwebhooks.webhooks import Webhook) implements the same check, but it hard-codes a 5-minute timestamp window. Stedi retries for up to 48 hours with the original creation timestamp, so the package rejects every retry, automatic or manual. The examples verify manually with an optional window (STEDI_TIMESTAMP_TOLERANCE_SECONDS, off by default). Details in references/verification.md.
For complete handlers with tests, see examples/express/, examples/nextjs/, examples/fastapi/.
Event Envelope
Events are thin: they say what changed, not the new state. Fetch the resource through the Stedi API.
{ "id": "evt_a81659f1-...", "object": "v1.event", "type": "enrollment.activated",
"account": "11111111-2222-3333-4444-555555555555", "environment": "PRODUCTION",
"created": "2026-03-30T23:19:00.501Z",
"resource": { "id": "019bb508-dc63-73a1-8ddc-9d4720299072", "type": "enrollment" } }
Some events add relatedResources (for example the transaction type and execution ID on transaction.processed). Dedupe on the webhook-id header.
Common Event Types
| Event | Fired when |
|---|---|
transaction.processed |
A transaction is received and translated (835 ERA, 277CA, or your JSON claim to X12) |
file.processed |
A file is processed (for example a payer's 277CA) |
file.failed |
A file can't be processed (parse or SFTP connection problems) |
enrollment.activated |
A transaction enrollment request goes LIVE |
enrollment.rejected |
The payer rejected the enrollment |
enrollment.updated |
An enrollment's status, payer, contacts, tasks or documents change |
enrollment.task.assigned / .completed / .deleted |
A provider enrollment task is assigned, completed or removed |
app.installed / app.uninstalled |
A customer installs or removes your OAuth app |
event.ping |
Test event from the Ping button |
Full payloads: references/overview.md and Stedi's event types.
Delivery Semantics
- Only
2xxcounts as success. Redirects (3xx) are failures, so point the destination straight at the receiver (HTTPS required). - Retries after 5 minutes, 30 minutes, 2 hours, 8 hours, 24 hours and 48 hours. If all fail, Stedi disables the destination until you re-enable it.
- Order isn't guaranteed. Duplicates happen (retries, manual recovery). Retries reuse the same
webhook-id. An event you recover through the API has only itsid(evt_..., also theevent-idheader), so store that too. - Allowlist the
Stedi-Events/User-Agent prefix if a WAF or
Установить stedi-webhooks в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл stedi-webhooks?
Receive and verify Stedi event destination webhooks (healthcare EDI clearinghouse). Use when setting up a Stedi webhook endpoint, getting the whsec_ signing secret, debugging webhook-id / webhook-timestamp / webhook-signature (Standard Webhooks) verification, or handling events like transaction.processed, file.processed, file.failed, enrollment.activated and enrollment.rejected.
Как установить скилл stedi-webhooks?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл stedi-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