API referenceWebhooks
Redeliver a webhook
POST
Needs a key withwebhooks:write
Sends a delivery again, with the same event id and body, now and then with the usual retries if it fails.
Requires scope webhooks:write.
apiKeyheader
x-api-key<token>An API key of your workspace (rmg_…), created in the web app. It acts for that workspace, not for a person, and keeps working when its creator leaves.
deliveryId*stringLength
1 <= length <= 128The delivery, sending again.
application/json- response
One event sent to one endpoint.
attempts*integerRange
0 <= valuecreatedAt*stringFormat
date-timedeliveredAt*|nullendpointId*stringeventId*stringThe event's id (evt_...), the same in every delivery and redelivery of it: sent as Remagica-Event-Id.
eventType*stringid*stringlastError*|What the last failed attempt got back, or why it got nothing.
lastStatus*|The HTTP status of the last attempt; null when nothing answered.
nextAttemptAt*|When the next retry is due, while it's pending.
status*stringpending (being sent, or waiting to retry), delivered (a 2xx came back) or failed (every retry failed).
Value in
"pending""delivered""failed"curl -X POST 'https://api.remagica.com/api/v1/webhook-deliveries/whd_0d1e2f3a4b5c6d7e/redeliver'Example Response
{ "attempts": 1, "createdAt": "2026-10-21T12:00:00.000Z", "deliveredAt": "2026-10-21T12:00:00.000Z", "endpointId": "2ecb03ae-5b3d-4f60-8e2a-1d9c6b4f7e05", "eventId": "5e0e63b4-5b3d-4f60-8e2a-1d9c6b4f7e05", "eventType": "generation.succeeded", "id": "whd_0d1e2f3a4b5c6d7e", "lastError": "string", "lastStatus": 1, "nextAttemptAt": "2026-10-21T12:00:00.000Z", "status": "pending"}