How to test Clerk webhooks locally
See Clerk user lifecycle events (user.created, session.created) as they fire, and forward them to your local handler to test just-in-time user sync.
- 1Create a free RelayFox URL on the homepage (no signup needed).
- 2Paste it as your webhook endpoint: Clerk Dashboard → Webhooks → Add Endpoint.
- 3Trigger an event (e.g. user.created) and watch it arrive live in RelayFox.
- 4Run the CLI to forward captured events to your local server:
npx relayfox forward <endpoint-id> --to http://localhost:3000 --token rfx_...
- 5Inspect headers, body and replay any event as many times as you need.
RelayFox preserves the svix-signature header when forwarding, so Clerk's signature verification works against your local server unchanged.