Resend failed webhook events
/webhook-event/resend
Sends failed events again with the same id and body, so your endpoint can deduplicate them. X-Truto-Signature is computed with the webhook's current secret, so it differs from the first send if the secret has changed since; a form-data event also gets a new multipart boundary. Each event goes back to pending and waits behind new events, so a large resend never delays live delivery. It is then tried once more, and retried like a new event: up to 5 attempts over the 5 minutes after that first attempt. When it is delivered it leaves the failed list and is listed as delivered (a sync_job_run:record event is removed instead). If its webhook is no longer active, it fails again without being sent. Pending and delivered events are never resent.
Name the events by ids, or select them with filters, not both. One of them is required. A call resends failed events oldest first, up to 1,000 of them and about 64 MB of their bodies. While 1,000 or more events of the environment are waiting to be sent, it answers 429: wait Retry-After seconds. When has_more is true, call again with the same ids or filters and the next_cursor it returned; the cursor carries on after the events already resent, so one that has failed again since is not sent twice.
Request Body
Resend the failed events created in this window.
Created after this time (ISO 8601, compared to the second).
Created before this time (ISO 8601, compared to the second).
The environment whose events to resend. Required when you call with a dashboard session; an API token uses its own environment.
Resend the failed events of this type.
integrated_account:createdThe events to resend, in this order. Ones that are not failed are skipped.
Resend the failed events about this integrated account.
The next_cursor of the previous call with the same ids or filters.
Resend the failed events for this webhook.
Response Body
Whether more of the events you selected are still to be resent.
truePass this with the same ids or filters to carry on; null when has_more is false.
How many failed events this call sent back to pending.
1000Errors
| Status | Description |
|---|---|
400 | No ids or filters, both, an invalid or unknown field, an invalid next_cursor, or no environment_id from a dashboard session. Nothing is resent. |
403 | The caller cannot reach environment_id. |
429 | 1,000 or more events of the environment are waiting to be sent, so nothing was resent. Try again after Retry-After seconds. |
503 | A resend by filters needs the same preparation as the list (see GET /webhook-event). Try again after Retry-After seconds. A resend by ids does not. |
507 | The environment's event storage filled up during the call. The message says how many events were resent before it stopped. Try again later. |
curl -X POST 'https://api.truto.one/webhook-event/resend' \
-H 'Authorization: Bearer <your_api_token>' \
-H 'Content-Type: application/json' \
-d '{
"webhook_id": "4a4de828-f4db-4c9e-adfd-434e0864c3c7",
"created_at": {
"gt": "2026-11-08T00:00:00Z"
}
}'const body = {
"webhook_id": "4a4de828-f4db-4c9e-adfd-434e0864c3c7",
"created_at": {
"gt": "2026-11-08T00:00:00Z"
}
};
const response = await fetch('https://api.truto.one/webhook-event/resend', {
method: 'POST',
headers: {
'Authorization': 'Bearer <your_api_token>',
'Content-Type': 'application/json',
},
body: JSON.stringify(body),
});
const data = await response.json();
console.log(data);import requests
url = "https://api.truto.one/webhook-event/resend"
headers = {
"Authorization": "Bearer <your_api_token>",
"Content-Type": "application/json",
}
params = {
}
payload = {
"webhook_id": "4a4de828-f4db-4c9e-adfd-434e0864c3c7",
"created_at": {
"gt": "2026-11-08T00:00:00Z"
}
}
response = requests.post(url, headers=headers, params=params, json=payload)
print(response.json())