Install
openclaw skills install hookcatchTest webhooks and expose local services using HookCatch - a developer-friendly webhook testing tool
openclaw skills install hookcatchHookCatch is a webhook testing and localhost tunneling tool that lets you:
Perfect for testing webhook integrations (Stripe, Twilio, GitHub, etc.) from your OpenClaw skills.
Authenticate with HookCatch:
hookcatch login
# Or use API token (recommended for automation):
hookcatch token generate
export HOOKCATCH_API_KEY="hc_live_..."
Create a webhook bin:
hookcatch bin create --name "Test Stripe Webhooks"
# Returns: https://hookcatch.dev/b/abc123xyz
View created bins:
hookcatch bin list
View captured requests:
hookcatch bin requests abc123xyz --format json
OR
hookcatch bin requests --binId abc123xyz --format json
Create a new webhook bin:
hookcatch bin create [--name "My Bin"] [--private] [--password "secret"] [--format json]
Options:
--name: Optional bin name for organization--private: Create private bin (PLUS+ tier required)--password: Set password for private bin (min 4 chars)--format: Output format (json recommended for automation)Returns: Bin ID, webhook URL, and view URL
List your bins:
hookcatch bin list [--format json]
Shows all your bins with request counts and status.
Get requests for a bin:
hookcatch bin requests <binId> [--limit 50] [--format json|table] [--method GET] [--password "secret"]
Options:
--limit: Number of requests to fetch (default: 50)--format: Output format - json for scripts, table for viewing--method: Filter by HTTP method (GET, POST, etc.)--password: Password for private bins (if required; owners can use their auth token)Show a single request:
hookcatch request <requestId> <binId> [--format json|pretty] [--password "secret"]
Delete a bin:
hookcatch bin delete <binId> --yes
Update a bin:
hookcatch bin update <binId> --name "New Name"
hookcatch bin update <binId> --private --password "secret123"
hookcatch bin update <binId> --public
Show a single request:
hookcatch request <requestId> <binId> [--format json|pretty]
Replay a request to a new URL:
hookcatch replay <binId> <requestId> <url>
hookcatch replay --binId <binId> --requestId <requestId> --url <url>
Expose your localhost:
hookcatch tunnel 3000
# Creates: https://hookcatch.dev/tunnel/xyz789
List active tunnels:
hookcatch tunnel list
Stop a tunnel:
hookcatch stop <tunnelId>
Forward incoming requests from the public URL to your local port 3000.
Tunnel limits:
Generate long-lived API token:
hookcatch token generate
# Store the token for automation
export HOOKCATCH_API_KEY="hc_live_..."
Check token status:
hookcatch token status
Revoke token:
hookcatch token revoke --yes
Account status:
hookcatch status
hookcatch whoami
# Create a bin for Stripe
BIN_URL=$(hookcatch bin create --name "Stripe Test" --format json | jq -r '.url')
# Use this URL in Stripe dashboard as webhook endpoint
echo "Configure Stripe webhooks to: $BIN_URL"
# Wait for webhooks...
sleep 10
# Fetch and analyze captured webhooks
hookcatch bin requests abc123xyz --format json | jq '.[] | {event: .body.type, amount: .body.data.object.amount}'
# Start your local API on port 8000
# python -m http.server 8000 &
# Expose it via tunnel
hookcatch tunnel 8000 --password <password>
# Now external services can reach your local API via:
# https://hookcatch.dev/tunnel/xyz789
# Create bin
hookcatch bin create --name "GitHub Webhooks"
# In GitHub repo settings, add webhook URL
# Trigger events (push, PR, etc.)
# View requests
hookcatch bin requests abc123xyz --method POST --limit 10
When building OpenClaw skills that need to test webhooks:
// In your skill script
import { exec } from 'child_process';
import { promisify } from 'util';
const execAsync = promisify(exec);
// Create a bin
const { stdout } = await execAsync('hookcatch bin create --format json');
const { binId, url } = JSON.parse(stdout);
// Use the webhook URL in your integration
console.log(`Webhook URL: ${url}`);
// Later, fetch requests
const { stdout: requests } = await execAsync(
`hookcatch bin requests ${binId} --format json`
);
const captured = JSON.parse(requests);
// Process captured webhooks
for (const req of captured) {
console.log(`${req.method} ${req.path}: ${JSON.stringify(req.body)}`);
}
HOOKCATCH_API_KEY - API token for authentication (recommended for automation)HOOKCATCH_API_URL - Override API URL (default: https://api.hookcatch.dev)HOOKCATCH_API_KEY--format json when parsing in scripts--private for production webhook testinghookcatch bin delete to stay within limitsBuilt for OpenClaw by the HookCatch team 🪝