ordinal-webhooks
БесплатноЗапускает вложенные скриптыНе проверенReceive and verify Ordinal (tryordinal.com) webhooks, the social-media and LinkedIn content planning, approval and scheduling platform. Deliveries are signed…
от hookdeck★ 104 звезды на GitHubОб этом скилле
Ordinal Webhooks
Ordinal (tryordinal.com) is a social-media content
planning, approval and scheduling platform for marketing teams: LinkedIn, X and Instagram
posts, campaigns, approval workflows, comment threads and LinkedIn monitoring. App:
https://app.tryordinal.com. Docs: https://docs.tryordinal.com. REST API base:
https://app.tryordinal.com/api/v1.
This is not Bitcoin Ordinals / inscriptions (
ord), not Ordinal Stats or Ordinal Labs. There is no official Ordinal SDK; Ordinal's docs point to the Standard Webhooks libraries for verification.
When to Use This Skill
- How do I receive Ordinal (tryordinal.com) webhooks?
- How do I verify an Ordinal webhook signature?
- Where do I find my Ordinal webhook signing secret?
- How do I handle
post.published,post.publish_failedorpost.approval.requested? - Why is
data.postundefined on my Ordinal comment or approval event? - How do I deduplicate Ordinal webhook retries?
Verification (core)
Ordinal's docs say "Every delivery is signed".
| Header | Value |
|---|---|
webhook-id |
Stable id for the event, sent again on a retry |
webhook-timestamp |
Unix seconds when the delivery was signed |
webhook-signature |
v1,<base64>, space-separated when two signatures arrive during a rotation |
webhook-topic |
The event type. Not covered by the signature; route on type from the body |
Signed content is {webhook-id}.{webhook-timestamp}.{raw body}, with HMAC-SHA256. The
key is the signing secret with its whsec_ prefix removed, then base64-decoded. The
request is valid when any v1, entry matches.
const { Webhook } = require('standardwebhooks');
// rawBody: the exact request body string, NOT re-serialised JSON
function verifyOrdinalWebhook(rawBody, get, secret = process.env.ORDINAL_WEBHOOK_SECRET) {
return new Webhook(secret).verify(rawBody, {
'webhook-id': get('webhook-id'),
'webhook-timestamp': get('webhook-timestamp'),
'webhook-signature': get('webhook-signature'),
}); // returns the parsed { type, data, createdAt }; throws -> respond 400
}
Python: from standardwebhooks.webhooks import Webhook, then
Webhook(secret).verify(await request.body(), {...same mapping...}).
verify also throws when webhook-timestamp is more than five minutes from the current
time. A manual verifier, for when you need your own window, is in
references/verification.md.
Where the secret comes from. The signingSecret field of the POST /webhooks
response, or the webhook's configure page under Settings → Integrations → Webhooks.
GET /webhooks and GET /webhooks/{id} don't return it.
For complete handlers with tests, see examples/express/, examples/nextjs/, examples/fastapi/.
The Delivery Envelope
{
"type": "post.published",
"data": { "post": { "id": "550e8400-e29b-41d4-a716-446655440001" } },
"createdAt": "2025-02-26T14:30:00.000Z"
}
type: the event type stringdata: event-specific payload with one key, whose name depends on the event familycreatedAt: ISO 8601 time the event was emitted
Respond with any 2xx to acknowledge. The body has no event id: deduplicate on the
webhook-id header, which repeats on a retry.
Undocumented, so don't invent values: the retry schedule and attempt count, delivery
timeout, ordering, source IP ranges, User-Agent, how to start a secret rotation, and any
test or ping event.
Event Types (24 topics)
| Event | data key |
Fires when |
|---|---|---|
social_profile.connected |
data.profile |
A profile is connected to the workspace |
social_profile.disconnected |
data.profile |
A profile is disconnected from the workspace |
social_profile.reconnect_needed |
data.profile |
A profile needs reconnecting (e.g. token expired) |
post.created |
data.post |
A new post is created |
post.scheduled |
data.post |
A post is scheduled for publishing |
post.rescheduled |
data.post |
A post's scheduled time is changed |
post.unscheduled |
data.post |
A post is unscheduled |
post.published |
data.post |
A post is published to a channel |
post.publish_failed |
data.post |
A post fails to publish (see data.post.error) |
post.archived |
data.post |
A post is archived (moved to trash) |
post.permanently_deleted |
data.post |
A post is permanently deleted |
post.content.edited |
data.post |
A post's content is edited: debounced per post, about 5 minutes, with the latest content for all channels |
post.comment.created |
data.comment |
A post-level comment is added |
post.inline_comment.created |
data.comment |
An inline (text-anchored) comment is added, one event per comment including replies |
| `pos |
Установить ordinal-webhooks в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл ordinal-webhooks?
Receive and verify Ordinal (tryordinal.com) webhooks, the social-media and LinkedIn content planning, approval and scheduling platform. Deliveries are signed per Standard Webhooks (webhook-id, webhook-timestamp, webhook-signature) with a whsec_ secret from the Create webhook response or the webhook's configure page. Use when building an Ordinal webhook receiver, debugging signature verification, deduplicating on webhook-id, unwrapping the `{ type, data, createdAt }` envelope, or handling `post.published`, `post.publish_failed`, `post.approval.requested`, `post.comment.created`, `social_profile.reconnect_needed` or `linkedin.monitoring.comment.created`. Not Bitcoin Ordinals/inscriptions, not Ordinal Labs.
Как установить скилл ordinal-webhooks?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ordinal-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