DocsGuidesWebhook Testing

Webhook Testing

Test webhooks from Stripe, GitHub, and more on localhost.

The problem

Services like Stripe, GitHub, and Slack send webhooks to a public URL. When developing locally, your machine isn't publicly accessible.

The solution

bash
serverme http 3000

Copy the public URL (e.g., https://abc123.serverme.site) and paste it as your webhook URL in the service's dashboard.

Example: Stripe webhooks

bash
# 1. Start your app

# 2. Start the tunnel serverme http 3000 --subdomain stripe-test

# 3. Set your Stripe webhook URL to: # https://stripe-test.serverme.site/webhook ```

Inspecting webhooks

Open http://127.0.0.1:4040 to see every webhook as it arrives — headers, body, timing. Click any request to see full details.

Replaying webhooks

Missed a webhook? Use the Inspector to replay it:

  1. Open the Inspector
  2. Find the webhook request
  3. Click "Replay"

Or via API:

bash
curl -X POST https://api.serverme.site/api/v1/tunnels/{url}/replay/{requestId} \
  -H "X-API-Key: sm_live_..."