{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "schemaVersion": "1.0",
  "name": "HookSink Webhook Inbox & Signature Verifier API",
  "humanReadableId": "apikeg/hook-sink",
  "agentVersion": "1.0.0",
  "description": "Provision instant public webhook URLs, verify Stripe/Shopify/GitHub/Slack HMAC signatures, and replay captured events at the edge. Eliminates spinning up ngrok tunnels, public servers, or error-prone raw-body HMAC/timestamp parsers when agents test integrations or receive async callbacks.",
  "provider": {
    "name": "Monetization Gateway Edge APIs",
    "url": "https://apikeg.com"
  },
  "capabilities": {
    "mcpVersion": "2025-06-18",
    "x402Version": 2,
    "streaming": false,
    "supportedMessageParts": [
      "json",
      "text"
    ]
  },
  "supportedInterfaces": [
    {
      "url": "https://hook-sink.apikeg.com/mcp",
      "protocolBinding": "MCP-STREAMABLE-HTTP",
      "protocolVersion": "2025-06-18"
    },
    {
      "url": "https://hook-sink.apikeg.com/openapi.json",
      "protocolBinding": "OPENAPI-REST",
      "protocolVersion": "3.1.0"
    },
    {
      "url": "https://hook-sink.apikeg.com/.well-known/api-catalog",
      "protocolBinding": "RFC9727-LINKSET",
      "protocolVersion": "1.0"
    }
  ],
  "defaultInputModes": [
    "application/json"
  ],
  "defaultOutputModes": [
    "application/json",
    "text/markdown",
    "text/html"
  ],
  "skills": [
    {
      "id": "create_inbox",
      "name": "Create Ephemeral Webhook Inbox",
      "description": "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 call instead of DIY: Replaces running ngrok/cloudflared tunnels, deploying temporary webhook servers, and managing TTL cleanup cron jobs. Pricing: Free ($0.00). Pass ?dry_run=true on REST to validate schema free.",
      "tags": [
        "developer-tools",
        "webhook-testing",
        "security-verification",
        "agent-infra"
      ],
      "pricing": {
        "scheme": "free",
        "priceUsd": "0",
        "unitDescription": "free onboarding inbox provisioning"
      },
      "documentationUrl": "https://hook-sink.apikeg.com/tools/create-inbox"
    },
    {
      "id": "inspect_inbox_events",
      "name": "Inspect Captured Webhook Events",
      "description": "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 call instead of 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). Pass ?dry_run=true on REST to validate schema free.",
      "tags": [
        "developer-tools",
        "webhook-testing",
        "security-verification",
        "agent-infra"
      ],
      "pricing": {
        "scheme": "exact",
        "priceUsd": "0.002",
        "unitDescription": "per inbox inspection query"
      },
      "documentationUrl": "https://hook-sink.apikeg.com/tools/inspect-inbox-events"
    },
    {
      "id": "verify_webhook_signature",
      "name": "Verify Webhook HMAC Signature",
      "description": "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 call instead of DIY: Prevents subtle raw-body serialization bugs, hex vs. base64 mismatches, timing side channels, and Stripe/Slack timestamp replay vulnerabilities. Pricing: $0.001 USD per stateless signature verification (x402 instant micropayment). Pass ?dry_run=true on REST to validate schema free.",
      "tags": [
        "developer-tools",
        "webhook-testing",
        "security-verification",
        "agent-infra"
      ],
      "pricing": {
        "scheme": "exact",
        "priceUsd": "0.001",
        "unitDescription": "per stateless signature verification"
      },
      "documentationUrl": "https://hook-sink.apikeg.com/tools/verify-webhook-signature"
    },
    {
      "id": "replay_event",
      "name": "Replay Captured Webhook Event",
      "description": "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 call instead of DIY: Safely redelivers exact byte-for-byte webhook payloads with original signatures intact without risking SSRF against internal networks. Pricing: $0.003 USD per SSRF-guarded webhook replay (x402 instant micropayment). Pass ?dry_run=true on REST to validate schema free.",
      "tags": [
        "developer-tools",
        "webhook-testing",
        "security-verification",
        "agent-infra"
      ],
      "pricing": {
        "scheme": "exact",
        "priceUsd": "0.003",
        "unitDescription": "per SSRF-guarded webhook replay"
      },
      "documentationUrl": "https://hook-sink.apikeg.com/tools/replay-event"
    }
  ]
}