HookSink Webhook Inbox & Signature Verifier API

Provision instant public webhook URLs, verify Stripe/Shopify/GitHub/Slack HMAC signatures, and replay captured events at the edge.

Ephemeral Cloudflare Durable Object webhook capture inboxes, constant-time multi-provider HMAC-SHA256 signature verification (Stripe, GitHub, Shopify, Slack, Linear), and SSRF-guarded webhook replay for autonomous agents.

developer-tools webhook-testing security-verification agent-infra

Why Agents Call This API Instead of DIY

Eliminates spinning up ngrok tunnels, public servers, or error-prone raw-body HMAC/timestamp parsers when agents test integrations or receive async callbacks.

DimensionDIY Inside Agent Sandbox / PromptHookSink Webhook Inbox & Signature Verifier API (hook-sink)
Onboarding & AuthInstall packages, debug runtime errors, or manage API keysZero signup — instant HTTP 402 (x402 USDC) & remote MCP
Context & Token CostThousands of tokens spent in multi-turn code/parse loopsDeterministic compact JSON response (<1.5K tokens)
Schema ValidationSilent runtime failures on malformed inputsFree ?dry_run=true preflight ($0.00 on 4xx errors)

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.

inspect_inbox_events — Inspect Captured Webhook Events

$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.

verify_webhook_signature — Verify Webhook HMAC Signature

$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.

replay_event — Replay Captured Webhook Event

$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.

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}'

Common Agent & Automation Workflows

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.