Webhooks
More ways to use this page
Replay a delivery
POST/v1/
TypeScript sendora
Python sendora
PHP $sendora->webhooks->replay(
Java sendora
Key sk_… a server key
Queues the event for delivery again, whatever its state, with the same payload and a fresh attempt count.
Parameters
idin pathstring (uuid)requiredThe webhook id.
deliveryIdin pathstring (uuid)requiredThe delivery id.
Responses
Every field of a response is always present. A field that can be null says so in its type.
202One event on its way to the webhook, retried with backoff until delivered or dead.
Example
{
"deliveryId": "9e8d7c6b-5a4f-4e3d-9c2b-1a0f9e8d7c60",
"event": "delivered",
"messageId": "5f432ffd-c005-499b-aa3a-5b8a088ea20e",
"inboundMessageId": null,
"status": "pending",
"attempts": 0,
"nextAttemptAt": "2026-09-15T12:05:00.000Z",
"lastStatusCode": 200,
"lastError": null,
"deliveredAt": null,
"createdAt": "2026-09-15T12:00:02.000Z"
}deliveryIdstring (uuid)event"delivered" | "bounced" | "deferred" | "spam_complaint" | "unsubscribed" | "opened" | "clicked" | "tracking_ opted_ out" | "cap_ warning" | "cap_ reached" | "inbound" | "inbound_ cap_ warning" | "inbound_ cap_ reached" messageIdstring (uuid) or nullNull for an event about usage rather than a message.
inboundMessageIdstring (uuid) or nullThe received message an inbound event is about; null for every other event.
status"pending" | "delivered" | "dead"pending is waiting for its next attempt; dead gave up and can be replayed.
attemptsintegernextAttemptAtstring (date-time) or nullWhen the next attempt is due, while pending.
lastStatusCodeinteger or nullThe HTTP status the endpoint last answered.
lastErrorstring or nullWhy the last attempt failed, when it did.
deliveredAtstring (date-time) or nullcreatedAtstring (date-time)
Errors
Every error answers error, the code, and message, a sentence for a person. A code that adds fields is shown in full below the table.
| Code | Status | Meaning |
|---|---|---|
unauthorized | 401 | The key is missing, malformed or revoked. |
wrong_ | 403 | The key is of the other kind: a server key (sk_) where an account key (ak_) is needed, or the reverse. The message names the kind the operation takes. |
not_ | 403 | A connected app called an operation that no tool of the MCP server calls. An API key can. |
read_ | 403 | A connected app may only read here: the account is read only through a connection, and a live server takes changes only if the person allowed them when connecting. |
test_ | 403 | A connected app may create a secret, or do what cannot be undone, on a test server only. |
not_ | 404 | No such webhook or delivery of this server. |
WWW-Authenticateheader on 401"Bearer"Always Bearer: send the key as Authorization: Bearer <key>.