Preview: SendMock has no stable release yet. These docs follow develop.

API reference

Webhook deliveries

POST/api/v1/webhooks/deliveries/{deliveryId}/replay

Send the delivery again, as it was or edited.

CLI
sendmock webhook deliveries replay <deliveryId>
MCP tool
sendmock_webhook_delivery_replay
In the app
Webhooks > Deliveries > delivery > Replay, Edit and replay

Request body (application/json)

DeliveryReplayRequest : Body of POST /api/v1/webhooks/deliveries/{deliveryId}/replay.

FieldTypeDescription
rerenderboolean
Renders the request again with today's template and variables; false resends the stored request as it was.Example: false
body?string
An edited body and headers; left out to resend the stored request.Example: {"type": "email.received"}
headers?object
Edited headers, by name; left out to resend the stored ones.

Answer

200 WebhookDelivery

Errors: 404, 409, as { error: { code, message } }

Try it in Demo mode