Test Segment webhooks
Segment sends webhooks for Track, Identify, Page, Screen, Group, and Alias calls from connected sources through its Webhooks (Actions) destination. Capture them on a free webhooks.cc endpoint to see exactly what Segment sends, then replay deliveries or forward them to your local handler.
No credit card · 50 requests/day free · or get a guest URL without an account
Prefer a walkthrough? Read the local webhook testing guide.
How to test Segment webhooks
- 1
Create a webhook endpoint
Sign in free with GitHub, Google, or email to create a persistent endpoint — or grab an instant guest URL at webhooks.cc without an account.
- 2
Point Segment at your URL
Paste the endpoint URL into Segment: Connections → Catalog → Webhooks (Actions), then set the URL in a mapping.
- 3
Inspect what arrives
Each delivery appears live in the dashboard with method, headers, body, query parameters, and source IP.
- 4
Forward to localhost or assert in CI
Run whk tunnel <port> to forward webhooks to a local server, or use the TypeScript SDK to wait for and assert on deliveries in tests.
Segment webhook authentication
| Auth header | x-signature |
|---|---|
| Algorithm | HMAC-SHA1 |
| Verification in webhooks.cc | Capture deliveries to inspect raw signature material |
Only sent when a shared secret is set under Settings → Advanced Settings. The value is a hex HMAC of the JSON request body keyed with that secret; with batching enabled, Segment signs only the first event in the batch.
New to signature verification? Read the webhook signature verification guide.
Everything in one place
- Live dashboard — see deliveries the moment they arrive
- Forward to localhost with whk tunnel
- Replay any captured request to any URL
- Mock responses with custom status, headers, and body
- TypeScript SDK assertions for CI
- MCP server for AI coding agents
Segment webhook questions
More providers
Your Segment webhook URL is seconds away
Sign up free, create an endpoint, and point Segment at it.
No credit card · or try without an account