replay_event — Replay Captured Webhook Event

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.

Pricing: $0.003 USD per SSRF-guarded webhook replay (x402 instant micropayment) · REST: POST https://hook-sink.apikeg.com/v1/replay-event · MCP: https://hook-sink.apikeg.com/mcp

Input Parameters

FieldTypeRequired / DefaultDescription & Constraints
inboxId string Required Inbox identifier containing the captured event. (minLength: 4, maxLength: 128)
readToken string Required Secret read token returned by create_inbox. (minLength: 8, maxLength: 256)
eventId string Required Identifier of the captured webhook event to replay. (minLength: 1, maxLength: 128)
targetUrl string Required Publicly routable http:// or https:// URL to receive the replayed webhook. (minLength: 8, maxLength: 2048)
overrideHeaders object Optional Optional additional or overridden HTTP headers to send on replay.
timeoutMs integer Default: 10000 Outbound replay request timeout in milliseconds (500–15000, default 10000). (min: 500, max: 15000)

REST Example (curl)

curl -X POST "https://hook-sink.apikeg.com/v1/replay-event" \
  -H "Content-Type: application/json" \
  -d '{
  "inboxId": "inb_0123456789abcdef01234567",
  "readToken": "hsk_0123456789abcdef0123456789abcdef0123456789abcdef",
  "eventId": "evt_000001_a1b2c3d4e5f6",
  "targetUrl": "https://staging.example.com/webhooks/stripe",
  "timeoutMs": 10000
}'

MCP tools/call Payload

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "replay_event",
    "arguments": {
      "inboxId": "inb_0123456789abcdef01234567",
      "readToken": "hsk_0123456789abcdef0123456789abcdef0123456789abcdef",
      "eventId": "evt_000001_a1b2c3d4e5f6",
      "targetUrl": "https://staging.example.com/webhooks/stripe",
      "timeoutMs": 10000
    }
  }
}