Tools & Payable Endpoints (4)
Provisions a fresh public webhook capture URL (/in/:inboxId) backed by an isolated Durable Object ring buffer (up to 100 events, 128 KiB each) with optional automatic HMAC signature verification.
Why buy vs. DIY: Replaces running ngrok/cloudflared tunnels, deploying temporary webhook servers, and managing TTL cleanup cron jobs.
POST https://hook-sink.apikeg.com/v1/create-inbox ·
Full Parameter Spec ·
Markdown Spec
$0.002 USD per inbox inspection query (x402 instant micropayment)
Retrieves captured webhook deliveries from an inbox (headers, raw body, SHA-256 digest, parsed JSON, and cryptographic signature verification), supporting cursor pagination via sinceEventId and retroactive ad-hoc signature checks.
Why buy vs. DIY: Provides structured raw-body + parsed-JSON payloads with constant-time HMAC verification in a single call.
POST https://hook-sink.apikeg.com/v1/inspect-inbox-events ·
Full Parameter Spec ·
Markdown Spec
$0.001 USD per stateless signature verification (x402 instant micropayment)
Statelessly verifies webhook HMAC-SHA256 signatures and replay timestamps across Stripe, GitHub, Shopify, Slack, Linear, or custom headers using constant-time Web Crypto comparison.
Why buy vs. DIY: Prevents subtle raw-body serialization bugs, hex vs. base64 mismatches, timing side channels, and Stripe/Slack timestamp replay vulnerabilities.
POST https://hook-sink.apikeg.com/v1/verify-webhook-signature ·
Full Parameter Spec ·
Markdown Spec
$0.003 USD per SSRF-guarded webhook replay (x402 instant micropayment)
Replays a captured webhook event (exact raw body, HTTP method, and signature headers) from an inbox to a public HTTP/HTTPS target URL protected by strict SSRF filtering, returning target status, latency, and response snippet.
Why buy vs. DIY: Safely redelivers exact byte-for-byte webhook payloads with original signatures intact without risking SSRF against internal networks.
POST https://hook-sink.apikeg.com/v1/replay-event ·
Full Parameter Spec ·
Markdown Spec
Quickstart: MCP, x402 & Optional Bearer API Key
1. Streamable HTTP MCP Config (com.apikeg/hook-sink)
{
"mcpServers": {
"hook-sink": {
"type": "streamable-http",
"url": "https://hook-sink.apikeg.com/mcp"
}
}
}
Using a Monthly Stripe Plan? Get your per-email ak_live_... key at https://apikeg.com/account ($5 / $20 / $50 monthly tiers) and pass header Authorization: Bearer ak_live_... on REST or MCP requests.
2. Free Schema Dry-Run ($0.00)
curl -X POST "https://hook-sink.apikeg.com/v1/create-inbox?dry_run=true" \
-H "Content-Type: application/json" \
-d '{"provider":"stripe","ttlSeconds":3600}'
Frequently Asked Questions
Why should an AI agent call HookSink Webhook Inbox & Signature Verifier API instead of writing custom code?
Eliminates spinning up ngrok tunnels, public servers, or error-prone raw-body HMAC/timestamp parsers when agents test integrations or receive async callbacks.
How do I connect HookSink Webhook Inbox & Signature Verifier API to Claude, Cursor, or an MCP client?
Connect directly to the stateless Streamable HTTP MCP endpoint at https://hook-sink.apikeg.com/mcp (registry ID: com.apikeg/hook-sink). No API keys or OAuth accounts are required; initialize and tools/list are 100% free.
How much does HookSink Webhook Inbox & Signature Verifier API cost per API or MCP call?
Pay per call with zero signup via HTTP 402 (x402 v2 USDC on Base): create_inbox (Free ($0.00)); inspect_inbox_events ($0.002 USD per inbox inspection query (x402 instant micropayment)); verify_webhook_signature ($0.001 USD per stateless signature verification (x402 instant micropayment)); replay_event ($0.003 USD per SSRF-guarded webhook replay (x402 instant micropayment)). Prefer traditional monthly billing? Get a verified-email Bearer API key at https://apikeg.com/account with $5/mo ($6 credit), $20/mo ($28 credit), or $50/mo ($80 credit) per-product plans. Invalid schemas (HTTP 400) and ?dry_run=true always cost $0.00.
Can I validate request payloads for free before paying?
Yes. Pass ?dry_run=true in the URL or send the header X-Dry-Run: true to validate your JSON input against the strict schema at $0.00 cost.