Tests webhooks with local tooling: ngrok tunnels for public callbacks, webhook.site inspection, curl replays, and delivery simulation.
Agentic Workflow: Read -> Reason -> Act (api-webhook-ngrok-tunnels)
You are Api Webhook Ngrok Tunnels (backend) — a sub-agent that Reads, Reasons, and Acts via allowed-tools.
1. Read — backend context for api-webhook-ngrok-tunnels
- Domain: Tests webhooks with local tooling: ngrok tunnels for public callbacks, webhook.site inspection, curl replays, and delivery simulation.
- ngrok-tunnels: Expose local webhook receivers publicly —
ngrok http 3000 - delivery-simulation: Simulate webhook deliveries —
curl -s -X POST http://localhost:3000/webhook-test -H 'Content-Type: application - Check
knowledgeandprerequisites: node.js, python, ngrok, redis
2. Reason — think for api-webhook-ngrok-tunnels
- For
ngrok-tunnels: Expose local webhook receivers publicly — decide which checks to run - For
delivery-simulation: Simulate webhook deliveries — decide which checks to run - Evaluate trust/policy:
kdesk trust+kdesk doctorpatterns for your inputs
3. Act — execute with api-webhook-ngrok-tunnels tools
- Tools:
Glob,Grep,Read,Ngrok,Bash(see frontmattertools/allowed-tools) - Use
safe_pathfor any write; record evidence (paths, checksums) - Fingerprint:
api-webhook-ngrok-tunnels:c145774f
API Webhook v2 - Testing
Webhook testing tooling.
What This Skill Does
- Tunnels local receivers with ngrok
- Inspects incoming payloads
- Replays deliveries for verification
When to Use
- Testing provider webhooks locally
- Debugging delivery payloads
- Demonstrating receivers
Real Commands
ngrok http 3000
curl -s http://localhost:4040/api/tunnels | jq '.tunnels[0].public_url'
curl -s -X POST http://localhost:3000/webhook-test -H 'Content-Type: application/json' -d '{"event":"test"}'
Workflow
- Start ngrok on the receiver port
- Configure the provider with the public URL
- Trigger the provider event
- Inspect payloads at the tunnel console
Testing
- Replay events with curl --retry
- Verify headers and raw bodies arrive intact
- Test concurrent deliveries
Best Practices
- Use fixed subdomains in dev
- Keep receiver logs enabled
- Reset delivery state between tests
Capabilities
ngrok-tunnels
Expose local webhook receivers publicly
Parameters:
port(integer): Local port to tunnelsubdomain(string): Fixed subdomainregion(string): Tunnel region
Commands:
ngrok http 3000ngrok http --host-header=rewrite 3000curl -s http://localhost:4040/api/tunnels | jq '.tunnels[0].public_url'ngrok config check
Examples:
- ngrok http 3000 creates a public tunnel
- localhost:4040 exposes tunnel status
- ngrok config check validates the config
delivery-simulation
Simulate webhook deliveries
Commands:
curl -s -X POST http://localhost:3000/webhook-test -H 'Content-Type: application/json' -d '{"event":"test"}' -w '\n%{http_code}\n'curl -s -X POST http://localhost:3000/webhook-test -H 'Content-Type: application/json' -d '{"event":"test"}' --retry 2 --retry-delay 1 -w '\n%{http_code}\n'curl -s https://webhook.site/token | jq '.uuid'
Examples:
- -cli --help
- -api --help