Events
Redeliver an event
Sends the event again: to one endpoint with {"endpoint": "we_..."}, or else to every enabled endpoint that subscribes to its type and to the webhook URL its request named. It keeps the event’s webhook-id, so a receiver that skips duplicates handles it once. A disabled endpoint, or nowhere to send, answers 409. Tests and redeliveries share a budget of 100 an hour per workspace.
Needs an API key with the generations:write scope.
POST
https://api.tryleap.ai
/
v1
/
events
/
{id}
/
redeliver
Redeliver an event
curl --request POST \
--url https://api.tryleap.ai/v1/events/{id}/redeliver \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{}'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.tryleap.ai/v1/events/{id}/redeliver', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.tryleap.ai/v1/events/{id}/redeliver"
payload = {}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"object": "list",
"url": "/v1/events/evt_9Wc3Yb1Dq7Hm2Vx4Lr8Kp6Tn/deliveries",
"data": [
{
"id": "whd_8Rb3Hy6Tc1Vn4Lm7Qx2Wd9Pk",
"object": "webhook_delivery",
"event": "evt_9Wc3Yb1Dq7Hm2Vx4Lr8Kp6Tn",
"endpoint": "we_5Tq8Lm2Xv9Kr4Wn7Bc1Yd3Hp",
"url": "https://example.com/webhooks/leap",
"status": "pending",
"attempts": [],
"next_attempt_at": "2026-10-04T19:02:00.000Z",
"created_at": "2026-10-04T19:02:00.000Z",
"completed_at": null
}
],
"has_more": false,
"next_cursor": null
}
Authorizations
ApiKeyBearer
Your workspace API key, leap_.... Create one at https://app.tryleap.ai/go/api, and keep it on your server.
Body
application/json
Response
The deliveries it queued.
Forward list envelope. Live lists are not snapshots; totals are not promised.
⌘I
Redeliver an event
curl --request POST \
--url https://api.tryleap.ai/v1/events/{id}/redeliver \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{}'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.tryleap.ai/v1/events/{id}/redeliver', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.tryleap.ai/v1/events/{id}/redeliver"
payload = {}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"object": "list",
"url": "/v1/events/evt_9Wc3Yb1Dq7Hm2Vx4Lr8Kp6Tn/deliveries",
"data": [
{
"id": "whd_8Rb3Hy6Tc1Vn4Lm7Qx2Wd9Pk",
"object": "webhook_delivery",
"event": "evt_9Wc3Yb1Dq7Hm2Vx4Lr8Kp6Tn",
"endpoint": "we_5Tq8Lm2Xv9Kr4Wn7Bc1Yd3Hp",
"url": "https://example.com/webhooks/leap",
"status": "pending",
"attempts": [],
"next_attempt_at": "2026-10-04T19:02:00.000Z",
"created_at": "2026-10-04T19:02:00.000Z",
"completed_at": null
}
],
"has_more": false,
"next_cursor": null
}