Skip to content

docs: revise webhooks guide, dashboard-first creation with SDK verify - #55

Merged
a-essawy merged 4 commits into
mainfrom
claude/webhooks-docs-overhaul-r95c4f
Jul 25, 2026
Merged

docs: revise webhooks guide, dashboard-first creation with SDK verify#55
a-essawy merged 4 commits into
mainfrom
claude/webhooks-docs-overhaul-r95c4f

Conversation

@a-essawy

Copy link
Copy Markdown
Contributor

What

A full revision of guides/webhooks.mdx so the page matches what actually ships and reads cleanly, not verbosely.

Highlights

  • Creation is dashboard-only now: a 3-step flow (Webhooks → New Endpoint → copy the once-shown whsec_ secret), the path most users take.
  • SDK front and center for the code that matters: leads with the @rendobar/sdk verifyWebhook() one-liner plus a complete Express receiver (the raw-body gotcha is called out). A compact "verify without the SDK" CodeGroup covers Node and Python.
  • SDK calls now appear in the section where you'd reach for them: test (tip), rotateSecret (rotation), retryDelivery (retries), rather than a bulky standalone section.

Nothing stale

Verified line-by-line against source (packages/shared/src/constants/webhook-events.ts, types/webhook.ts, apps/api/src/routes/webhook-endpoints.ts, and the dashboard route):

  • Fixed a stale header example: X-Rendobar-Delivery: del_…whd_… to match generateDeliveryId().
  • Replaced the fictitious extract.metadata with the real ffprobe data-only example.
  • Event list, envelope fields, retry backoff (10/20/40/80/160s), auto-disable-after-10, and the output shape all confirmed current.
  • Bumped dateModified to 2026-07-25.

Validation

  • validate:frontmatter, validate:nav, validate:plan-limits all pass.
  • No em-dash or en-dash in prose (writing-style rule).

🤖 Generated with Claude Code

https://claude.ai/code/session_01Ajz7odbJunsbosNj81M2Pi


Generated by Claude Code

Claude added 4 commits July 25, 2026 12:11
- Lead endpoint creation with the dashboard flow (Tabs: Dashboard / SDK / cURL)
- Front the @rendobar/sdk verifyWebhook one-liner plus a complete Express receiver
- Add a Manage-from-code section for client.webhooks.* (list, test, rotate, retry, update, delete)
- Fix stale delivery header example (del_ -> whd_ to match generateDeliveryId)
- Use ffprobe as the real data-only job example; refresh SDK-based retry/rotation snippets
- Update dateModified to 2026-07-25
- Creation is dashboard-only (drop SDK/cURL creation tabs)
- Fold SDK calls into context (test in tip, rotate in rotation, retry in retries)
- Trim prose and the failed-event example; keep it lean and readable
…oks guide

- Lead the Create section with the Webhooks dashboard link
- Embed empty-state and New Endpoint panel screenshots via <Frame>, served from cdn.rendobar.com/assets/docs/webhooks/
@a-essawy
a-essawy merged commit e8a1134 into main Jul 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant