nitrosend-webhooks
БесплатноЗапускает вложенные скриптыНе проверенReceive and verify Nitrosend webhooks, which follow the Standard Webhooks specification. Use when setting up a Nitrosend webhook endpoint, getting the whsec_…
от hookdeck★ 104 звезды на GitHubОб этом скилле
Nitrosend Webhooks
Nitrosend is a transactional and marketing email platform with an agent inbox. It POSTs a signed JSON event to each endpoint you register (up to 10 per brand) when a transactional email is sent, delivered, bounced, complained about, opened, clicked or fails, when a reply reaches one of your inboxes, and when account state changes (campaigns, sending limits, imports, domains). Signatures follow Standard Webhooks, so each delivery carries webhook-id, webhook-timestamp and webhook-signature headers.
When to Use This Skill
- How do I receive Nitrosend webhooks?
- How do I verify a Nitrosend webhook signature (
webhook-signature)? - Where do I find my Nitrosend webhook secret (
whsec_...)? - How do I handle
email.delivered,email.bounced,email.complainedoremail.receivedevents? - How do I react to
sending.limit_reached,domain.verification_lostorwebhook.disabled? - Why is my Nitrosend webhook verification failing, or failing only on retries and replays?
Verification (core)
| Header | Value |
|---|---|
webhook-id |
evt_...; retries reuse it. Your idempotency key |
webhook-timestamp |
Unix seconds |
webhook-signature |
One or more space-separated v1,<base64> entries |
Signed content is {webhook-id}.{webhook-timestamp}.{raw body}, HMAC-SHA256, base64 output. The key is the base64-decoded part of the whsec_... secret after the prefix. Compare against every v1, entry; ignore other versions. If webhook-id is absent, read svix-id, svix-timestamp and svix-signature instead. The examples use the standardwebhooks library (npm and PyPI):
const { Webhook } = require('standardwebhooks');
// rawBody: exact request body (Buffer or string), NOT re-serialised JSON
function verifyNitrosend(rawBody, headers, secret = process.env.NITROSEND_WEBHOOK_SECRET) {
const p = headers['webhook-id'] ? 'webhook' : 'svix'; // fall back to the svix-* names
new Webhook(secret).verify(rawBody, {
'webhook-id': headers[`${p}-id`],
'webhook-timestamp': headers[`${p}-timestamp`],
'webhook-signature': headers[`${p}-signature`],
}, { jsonParse: false }); // throws on a bad signature or stale timestamp → respond 401
}
The library always enforces a fixed 5-minute timestamp window, which is also what Nitrosend tells you to apply. Hookdeck retries and replays resend the original webhook-timestamp, so the library rejects them once they are more than 5 minutes old. If you receive through Hookdeck and need late retries to pass, use the manual verifier in references/verification.md, which can drop or widen the window. In Express, read the body with express.raw({ type: '*/*' }) so any content type verifies, and parse JSON only after the check.
For complete handlers with tests, see examples/express/, examples/nextjs/, examples/fastapi/.
Event Type and Payload
Every body is { type, timestamp, data }. The event name is the top-level type (dotted, such as email.bounced), timestamp is when the event happened, and the event fields sit under data:
{
"type": "email.bounced",
"timestamp": "2026-09-30T10:00:00.000Z",
"data": {
"message_id": 48213,
"to": "[email protected]",
"subject": "Reset your password",
"idempotency_key": "reset-8841",
"tags": { "user_id": "42" },
"bounce": { "type": "hard", "subtype": "NoEmail" }
}
}
data.bounce.type (hard) is the bounce kind, not the event type. Test events sent from the dashboard or POST /v1/my/webhooks/{id}/test carry "test": true in data with null ids.
Common Event Types
| Event | Sent when |
|---|---|
email.sent |
The provider accepted the message |
email.delivered |
The recipient's mail server accepted it |
email.bounced |
It bounced, hard or soft (data.bounce) |
email.complained |
The recipient marked it as spam |
email.opened |
First open (scanners and bots don't count) |
email.clicked |
First human click of each link |
email.failed |
It failed for good |
email.received |
A reply, automatic reply or new mail reached one of the brand's inboxes |
campaign.completed / campaign.failed / campaign.stopped |
A campaign finished, ended before reaching anyone, or was paused for a high bounce or complaint rate |
flow.paused |
A flow was paused for a high bounce or complaint rate |
sending.paused |
All sending on the account was paused |
sending.limit_approaching / sending.limit_reached |
Most of, or all of, the rolling 24-hour sending allowance is used |
import.completed / import.failed |
A contact import finished or failed |
domain.verified / domain.verification_lost / domain.dns_degraded |
A sending domain passed verification, l |
Установить nitrosend-webhooks в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл nitrosend-webhooks?
Receive and verify Nitrosend webhooks, which follow the Standard Webhooks specification. Use when setting up a Nitrosend webhook endpoint, getting the whsec_ signing secret, debugging webhook-id / webhook-timestamp / webhook-signature verification, or handling events like email.delivered, email.bounced, email.complained, email.received, campaign.completed and sending.limit_reached.
Как установить скилл nitrosend-webhooks?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл nitrosend-webhooks запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic