roblox-webhooks
БесплатноЗапускает вложенные скриптыНе проверенReceive and verify Roblox webhook notifications (Open Cloud webhooks configured per experience in the Creator Dashboard). Use when verifying the…
от hookdeck★ 104 звезды на GitHubОб этом скилле
Roblox Webhooks
Roblox sends webhook notifications about events in your own experience: right-to-erasure requests, subscription lifecycle, commerce orders, transaction refunds and experiment harm alerts. You configure them per experience in the Creator Hub under Configurations → Webhooks.
This skill covers the inbound webhook only. The Open Cloud REST APIs (apis.roblox.com, x-api-key header) are a separate thing, and so are Discord or Slack incoming-webhook URLs that you can point a Roblox webhook at.
When to Use This Skill
- How do I receive Roblox webhook notifications?
- How do I verify the
roblox-signatureheader? - Why does my Roblox webhook signature verification fail?
- How do I handle a Roblox
RightToErasureRequest? - Why is there no
v1=in myroblox-signatureheader? - Why did Roblox stop sending webhooks to my URL?
Verification (core)
From Roblox's Verify webhook security section:
| Part | Value |
|---|---|
| Header | roblox-signature: t=<timestamp>,v1=<signature> |
t |
Unix time in seconds when the notification was sent |
| Signed message | <t>.<request body>: timestamp, a literal ., then the body |
| Algorithm | HMAC-SHA256, key = the webhook's secret, output base64 (not hex) |
| Replay window | Optional in the docs. Their sample uses 300 s and the prose suggests up to 10 minutes. The examples default to 300 s |
const crypto = require('crypto');
function verifyRobloxSignature(rawBody, header, secret, toleranceSec = 300) {
if (!secret || !header) return false;
let t = null; const sigs = [];
for (const member of header.split(',')) { // CSV: any order, any count
const i = member.indexOf('='); if (i < 0) continue; // split on the FIRST '=' (base64 padding)
const [k, v] = [member.slice(0, i).trim(), member.slice(i + 1).trim()];
if (k === 't') t = v; else if (k === 'v1' && v) sigs.push(v);
}
if (!/^\d+$/.test(t || '') || sigs.length === 0) return false; // no v1: reject, never skip
if (Math.abs(Date.now() / 1000 - Number(t)) > toleranceSec) return false;
const expected = Buffer.from(crypto.createHmac('sha256', secret)
.update(`${t}.`).update(rawBody).digest('base64'));
return sigs.some((s) => { const b = Buffer.from(s);
return b.length === expected.length && crypto.timingSafeEqual(b, expected); });
}
For complete handlers with tests, see examples/express/, examples/nextjs/, examples/fastapi/.
Python: base64.b64encode(hmac.new(secret.encode(), f"{t}.".encode() + raw_body, hashlib.sha256).digest()), compared with hmac.compare_digest.
The secret is optional on Roblox's side. Without one, Roblox sends only t=<timestamp> and you can't authenticate the request at all. Set a secret on every webhook. The handlers reject a header with no v1 (401), a missing header (401) and an unset ROBLOX_WEBHOOK_SECRET (500). They never skip the check.
Raw body or re-serialised JSON? Roblox's own sample signs JSON.stringify(req.body) after express.json() has parsed it, and the prose says "the JSON string of the request body". The examples sign the raw body bytes instead. For ordinary compact payloads the two agree (the tests check that on their fixtures), but a JSON round trip is not byte-stable: it rewrites escapes ("a\/b" → "a/b"), normalises numbers (1.0 → 1), reorders numeric-looking keys and picks up any middleware mutation. The raw body has none of those failure modes. A live delivery is the only proof of which form the sender intends. See references/verification.md.
The timestamp is inside the signed message, so it can't be changed without breaking the HMAC. That's why the replay-window check works.
Payload
Every notification uses the same envelope. The field names are PascalCase:
{
"NotificationId": "string",
"EventType": "RightToErasureRequest",
"EventTime": "2023-12-30T16:24:24.2118874Z",
"EventPayload": { "UserId": 1, "GameIds": [1234, 2345] }
}
NotificationId: dedupe on it. "If the sameNotificationIdis received twice, it is considered a duplicate."EventType: route on it.EventTime: ISO-8601 with 7 fractional digits. Trim before parsing withDateordatetime.fromisoformat.EventPayload: varies by event. IDs are JSON numbers (above 2^31, below 2^53).
Events
Only three EventType wire values are published anywhere in Roblox's docs:
EventType |
Trigger | EventPayload |
|---|---|---|
RightToErasureRequest |
Right to Erasure / Deletion Request | UserId, GameIds (start place IDs) |
SampleNotification |
Test Response button in the Creator Dashboard | UserId |
AnalyticsAlert |
An analytics alert |
Установить roblox-webhooks в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл roblox-webhooks?
Receive and verify Roblox webhook notifications (Open Cloud webhooks configured per experience in the Creator Dashboard). Use when verifying the roblox-signature header (t=<timestamp>,v1=<base64 HMAC-SHA256 of "<t>.<raw body>">), handling RightToErasureRequest (GDPR/CCPA right to erasure) and SampleNotification events, subscription, commerce order, transaction refund and experiment notifications, meeting the 5-second response budget, or debugging Roblox signature mismatches.
Как установить скилл roblox-webhooks?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл roblox-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