Skip to main content

Create an Endpoint

A debug endpoint is a URL that captures all incoming HTTP requests for inspection.

From the dashboard

  1. Open the Webhook Inspector dashboard
  2. Click New Endpoint
  3. Enter a name (e.g., "Stripe Webhooks")
  4. Optionally set a custom slug (e.g., stripe-webhooks)
  5. Click Create

Your endpoint URL is:

https://app.hooklistener.com/w/<slug>

From the CLI

hooklistener endpoint create "Stripe Webhooks" --slug stripe-webhooks

From the API

curl -X POST https://app.hooklistener.com/api/v1/endpoints \
-H "Authorization: Bearer hklst_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"debug_endpoint": {
"name": "Stripe Webhooks",
"slug": "stripe-webhooks"
}
}'

Endpoint properties

PropertyDescription
NameA human-readable label for the endpoint
SlugThe URL path segment (auto-generated if not provided)
Webhook URLThe full URL to send webhooks to (/w/<slug>)
StatusActive or paused

Using your endpoint URL

Point any webhook provider at your endpoint URL. All HTTP methods are supported:

# POST request
curl -X POST https://app.hooklistener.com/w/stripe-webhooks \
-H "Content-Type: application/json" \
-d '{"type": "payment_intent.succeeded"}'

# GET request with query parameters
curl "https://app.hooklistener.com/w/stripe-webhooks?verify=true"

# PUT request
curl -X PUT https://app.hooklistener.com/w/stripe-webhooks \
-H "Content-Type: application/xml" \
-d '<event>updated</event>'

Requests to any sub-path are also captured:

curl -X POST https://app.hooklistener.com/w/stripe-webhooks/payments/webhook

What's next