How to Test a Webhook Online
Use a public callback URL to inspect webhook payloads online without exposing your local machine.
Last updated: 2026-06-24
To test a webhook online, create a public callback URL, send a sample request from your provider, and inspect the incoming headers, query, and body in one place.
Steps
- Create a webhook URL in WebhookPilot.
- Paste that URL into Stripe, GitHub, Shopify, Telegram, or your own app.
- Trigger a real event.
- Open the event detail view and inspect the payload.
Example
curl -X POST "https://your-domain.com/hook/demo" \
-H "Content-Type: application/json" \
-d '{"event":"demo.completed","id":"evt_123"}'
Common mistakes
- Testing with a private localhost URL that the provider cannot reach.
- Parsing the payload before storing the raw body.
- Sharing raw payloads without masking secrets.
FAQ
Do I need to deploy my app first?
No. A webhook inbox gives you a public URL before your own handler is ready.
Can I test non-JSON requests?
Yes. Capture the raw body, content type, headers, and query string.
Create a test endpoint on the homepage and inspect a live request end to end.