create_inbox — Create Ephemeral Webhook Inbox

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.

Pricing: Free ($0.00) · REST: POST https://hook-sink.apikeg.com/v1/create-inbox · MCP: https://hook-sink.apikeg.com/mcp

Input Parameters

FieldTypeRequired / DefaultDescription & Constraints
provider string Optional Optional webhook provider preset for automatic HMAC verification on capture (auto, stripe, github, shopify, slack, linear, generic_sha256). (enum: auto | stripe | github | shopify | slack | linear | generic_sha256)
signingSecret string Optional Optional webhook signing secret used to verify inbound webhook signatures automatically as events arrive. (minLength: 1, maxLength: 512)
signatureHeader string Optional Optional custom HTTP header name containing the HMAC signature when using generic_sha256 or linear. (minLength: 1, maxLength: 128)
ttlSeconds integer Default: 3600 Ephemeral inbox retention TTL in seconds (60 to 86400, default 3600). (min: 60, max: 86400)

REST Example (curl)

curl -X POST "https://hook-sink.apikeg.com/v1/create-inbox" \
  -H "Content-Type: application/json" \
  -d '{
  "provider": "stripe",
  "ttlSeconds": 3600
}'

MCP tools/call Payload

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "create_inbox",
    "arguments": {
      "provider": "stripe",
      "ttlSeconds": 3600
    }
  }
}