Input Parameters
| Field | Type | Required / Default | Description & 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
}
}
}