inspect_inbox_events — Inspect Captured Webhook Events

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.

Pricing: $0.002 USD per inbox inspection query (x402 instant micropayment) · REST: POST https://hook-sink.apikeg.com/v1/inspect-inbox-events · MCP: https://hook-sink.apikeg.com/mcp

Input Parameters

FieldTypeRequired / DefaultDescription & Constraints
inboxId string Required Ephemeral inbox identifier returned by create_inbox. (minLength: 4, maxLength: 128)
readToken string Required Secret read token returned by create_inbox. (minLength: 8, maxLength: 256)
limit integer Default: 50 Maximum number of captured webhook events to return (1–100, default 50). (min: 1, max: 100)
sinceEventId string Optional Cursor pagination: return only events captured strictly after this eventId. (minLength: 1, maxLength: 128)
signingSecret string Optional Optional ad-hoc HMAC signing secret to retroactively verify captured webhook events. (minLength: 1, maxLength: 512)
provider string Optional Optional provider preset override for retroactive signature verification (auto, stripe, github, shopify, slack, linear, generic_sha256). (enum: auto | stripe | github | shopify | slack | linear | generic_sha256)
signatureHeader string Optional Optional custom header name for retroactive generic_sha256 verification. (minLength: 1, maxLength: 128)
toleranceSeconds integer Optional Optional timestamp tolerance window in seconds (evaluated against each event's receivedAt timestamp). (min: 0, max: 86400)

REST Example (curl)

curl -X POST "https://hook-sink.apikeg.com/v1/inspect-inbox-events" \
  -H "Content-Type: application/json" \
  -d '{
  "inboxId": "inb_0123456789abcdef01234567",
  "readToken": "hsk_0123456789abcdef0123456789abcdef0123456789abcdef",
  "limit": 20
}'

MCP tools/call Payload

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "inspect_inbox_events",
    "arguments": {
      "inboxId": "inb_0123456789abcdef01234567",
      "readToken": "hsk_0123456789abcdef0123456789abcdef0123456789abcdef",
      "limit": 20
    }
  }
}