Skip to main content

Developer Tools Template

Catch, Inspect & Replay Webhooks
in 5 Minutes

Webhook tester with real-time inspection, cURL export, and replay with raw body preservation. A RequestBin alternative you own. Full source code — easily customizable with a coding agent.

npm install -g codehooks
coho create myinspector --template webhook-inspector
cd myinspector && coho deploy
# Your webhook inspector is live
Webhook Inspector — catch, inspect, and replay webhooks

No credit card required. Free tier for development. Set up your coding agent →

Stop Debugging Webhooks Blind

Integrating webhooks from Stripe, GitHub, Shopify, or any service? You need to see what's actually hitting your endpoint:

  • What headers does Stripe actually send?
  • Is the payload in the format you expected?
  • Why does signature verification keep failing?
  • Did the webhook even fire at all?
  • Can you replay it without triggering the event again?

Deploy your own webhook inspector in 5 minutes.

How It Works

1
Create an endpoint → get a unique webhook URL
2
Point your service's webhook to that URL
3
Inspect every request in real time
4
Replay to your handler or copy as cURL

Everything You Need for Webhook Development

Inspect, debug, and replay webhooks from any service

Inspect Every Detail

View headers, body, query params, and method for every incoming webhook. Syntax-highlighted JSON with resizable panels.

Replay Webhooks

Forward captured webhooks to any target URL with original headers and raw body. Perfect for testing signed webhooks like Stripe.

Copy as cURL

One-click cURL export preserving the exact raw body bytes. Reproduce any webhook from your terminal.

Real-Time Feed

Live polling shows incoming webhooks as they arrive. Method badges, relative timestamps, and expandable details.

Auto-Cleanup

Hooks older than 7 days are automatically deleted. No manual maintenance needed.

Raw Body Preservation

Stores the original raw request body for faithful replay of signed webhooks (Stripe, GitHub, Shopify).

Two Files. Full Webhook Inspector.

The entire inspector is just two files — a backend with REST API routes and a single-page frontend. Small enough for any coding agent to understand and customize in one shot.

  • index.js — API routes, webhook catching, replay, cleanup cron
  • public/index.html — Dark mode UI with Tailwind CDN
  • Built-in NoSQL database — no external DB needed
  • Serverless — scales automatically, no infra to manage

The catch-all webhook handler:

import { app, Datastore } from 'codehooks-js';
// Catch any webhook sent to /hook/:uuid
const catchHandler = async (req, res) => {
const { uuid } = req.params;
const conn = await Datastore.open();
// Store with raw body for signed replay
await conn.insertOne('hooks', {
endpointId: uuid,
method: req.method,
headers: req.headers,
body: req.body,
rawBody: req.rawBody || '',
query: req.query,
timestamp: new Date().toISOString()
});
res.json({ received: true });
};
// Register for all HTTP methods
['get','post','put','patch','delete']
.forEach(m => app[m]('/hook/:uuid', catchHandler));

Webhook Inspector Comparison

How this Codehooks template compares to other webhook testing tools

FeatureCodehooksRequestBinWebhook.siteBeeceptor
Own your code & data
Replay to target URLPaidPaid
Raw body preservation
Copy as cURL
Full source code
Custom domainPaidPaidPaid
AI-customizable
CostFreeFree$24/mo$15/mo

Built for Every Webhook Integration

Debug and test webhooks from any service

Payment Webhooks

Test Stripe, PayPal, and Shopify payment events. Verify signature headers work before going to production.

checkout.completed • payment.succeeded • refund.created

CI/CD & DevOps

Inspect GitHub, GitLab, and Bitbucket webhook payloads. Debug deployment triggers and PR events.

push • pull_request • deployment_status

SaaS Integrations

Debug webhooks from any SaaS service. Replay captured events against your staging environment.

user.created • invoice.paid • form.submitted

Ready to Debug Webhooks Without the Guesswork?

Deploy your own webhook inspector in 5 minutes. Free to start, full source code included.

Webhook Inspector FAQ

Common questions about catching, inspecting, and replaying webhooks

What is a webhook inspector?
A webhook inspector lets you catch, view, and debug incoming HTTP webhooks in real time. It gives you a unique URL to use as a webhook endpoint, then displays every request sent to that URL — including headers, body, and query parameters. This template gives you your own webhook inspector with full source code.
How is this different from RequestBin or Webhook.site?
Three key differences: (1) You own it — your webhook data stays in your own project, not a shared third-party service. (2) Replay — forward captured webhooks to any URL with original headers and raw body intact. (3) Full source code — customize the inspector to match your exact workflow. No usage limits or paid tiers for basic features.
Can I replay Stripe webhooks with valid signatures?
Yes! The inspector preserves the raw request body (not re-serialized JSON), which is critical for signature verification. When you replay, it forwards the original headers including stripe-signature. As long as the signature hasn't expired (Stripe allows 5 minutes), the replay will pass verification.
How does the replay feature work?
Set a target URL on your endpoint. When you click Replay on any captured webhook, the inspector forwards the original request — method, headers, and raw body — to that target. It shows the target's response status and body inline, so you can immediately see if your handler processed it correctly.
Is my webhook data secure?
Each endpoint gets a unique UUID that serves as a secret URL. Only someone with the UUID can view or interact with the captured webhooks. The data is stored in Codehooks' built-in NoSQL database, and hooks are automatically deleted after 7 days.
Can I use this for production webhook testing?
Absolutely. Common use cases: testing Stripe webhook integrations before going live, debugging GitHub webhook payloads during CI/CD setup, verifying Shopify event formats during app development, and replaying production webhooks against a staging endpoint.
What HTTP methods does it support?
All standard methods: GET, POST, PUT, PATCH, DELETE. Every method is captured with full headers, body, and query parameters. The UI shows color-coded method badges for quick scanning.
How do I customize the inspector?
The entire source is two files: index.js (backend routes) and public/index.html (frontend UI). Modify the code directly or use a coding agent — the codebase is small enough for an AI to understand and modify in a single context window.
Does it handle large webhook payloads?
Yes. The body panel is capped at a reasonable height with a drag-to-resize handle, so large payloads don't overwhelm the UI. Headers also have resizable panels. The full body is always available via Copy Body or Copy as cURL.
What does it cost to run?
The Codehooks free tier is generous enough for webhook development and testing. For higher volume, paid plans scale with your needs. No per-webhook fees.