curl -sS \
-X POST \
-H 'Authorization: Bearer $OXI_SK' \
-H 'Idempotency-Key: wh_redeliver_456' \
'https://api.0xinsider.com/api/v1/webhooks/123/deliveries/456/redeliver'import requests
url = "https://api.0xinsider.com/api/v1/webhooks/{id}/deliveries/{delivery_id}/redeliver"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.0xinsider.com/api/v1/webhooks/{id}/deliveries/{delivery_id}/redeliver', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.0xinsider.com/api/v1/webhooks/{id}/deliveries/{delivery_id}/redeliver",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.0xinsider.com/api/v1/webhooks/{id}/deliveries/{delivery_id}/redeliver"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.0xinsider.com/api/v1/webhooks/{id}/deliveries/{delivery_id}/redeliver")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.0xinsider.com/api/v1/webhooks/{id}/deliveries/{delivery_id}/redeliver")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"object": "webhook_delivery",
"data": {
"id": 456,
"object": "webhook_delivery",
"event_id": "evt_whale_trades_inserted_1700000000_3",
"event_type": "whale_trades_inserted",
"status": "pending",
"attempt_count": 0,
"last_response_status": 503,
"last_error": "non-2xx response",
"next_attempt_at": "2026-06-04T12:00:00Z",
"created_at": "2026-06-04T09:00:00Z"
},
"meta": {
"request_id": "req_example",
"cached": false,
"cost": 1
}
}Redeliver a Webhook Delivery
curl -sS \
-X POST \
-H 'Authorization: Bearer $OXI_SK' \
-H 'Idempotency-Key: wh_redeliver_456' \
'https://api.0xinsider.com/api/v1/webhooks/123/deliveries/456/redeliver'import requests
url = "https://api.0xinsider.com/api/v1/webhooks/{id}/deliveries/{delivery_id}/redeliver"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.0xinsider.com/api/v1/webhooks/{id}/deliveries/{delivery_id}/redeliver', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.0xinsider.com/api/v1/webhooks/{id}/deliveries/{delivery_id}/redeliver",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.0xinsider.com/api/v1/webhooks/{id}/deliveries/{delivery_id}/redeliver"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.0xinsider.com/api/v1/webhooks/{id}/deliveries/{delivery_id}/redeliver")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.0xinsider.com/api/v1/webhooks/{id}/deliveries/{delivery_id}/redeliver")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"object": "webhook_delivery",
"data": {
"id": 456,
"object": "webhook_delivery",
"event_id": "evt_whale_trades_inserted_1700000000_3",
"event_type": "whale_trades_inserted",
"status": "pending",
"attempt_count": 0,
"last_response_status": 503,
"last_error": "non-2xx response",
"next_attempt_at": "2026-06-04T12:00:00Z",
"created_at": "2026-06-04T09:00:00Z"
},
"meta": {
"request_id": "req_example",
"cached": false,
"cost": 1
}
}dead_letter delivery to the delivery queue with a fresh attempt budget. Use it after a failed delivery exhausts its retries, or after re-enabling an endpoint whose queued deliveries were dead-lettered while it was disabled.
What redelivery does
statusbecomespending,attempt_countresets to0, andnext_attempt_atis now, so the delivery worker claims it like any queued delivery, under the same per-owner and per-origin concurrency limits.- The resend is signed with the endpoint’s current signing secret and sent to its current URL.
- The delivery keeps its
event_idandIdempotency-Keyheader, so a receiver that already processed the event can deduplicate it.x-0xinsider-delivery-attemptstarts again at1. last_response_statusandlast_errorkeep the previous failure’s values until the next attempt records its own.PATCH /api/v1/webhooks/{id} {"enabled": true}re-enables an endpoint but resends nothing by itself; redeliver each dead-lettered delivery you want retried.
curl -X POST \
-H "Authorization: Bearer $OXINSIDER_API_KEY" \
-H "Idempotency-Key: wh_redeliver_456" \
"https://api.0xinsider.com/api/v1/webhooks/42/deliveries/456/redeliver"
Handle the 409
error.param names the cause.
delivery_id: the delivery is alreadydelivered, or still queued (pending,retry, orprocessing). Only adead_letterdelivery can be redelivered.endpoint: the endpoint would not receive it: disabled, not verified, or no longer subscribed to the delivery’sevent_type.error.messagenames the fix.error.reason: "idempotency_in_progress": the same keyed request is still running.
404 covers an endpoint or delivery the caller does not own, including a delivery removed by the seven-day retention of delivered and dead_letter history.
Related
List Webhook Deliveries lists the deliveries this endpoint requeues.Authorizations
API key or OAuth 2.1 access token in the Authorization header as Bearer oxi_sk_live_... or Bearer oxi_at_.... Data calls require an active Pro subscription and return live data. A 401 carries WWW-Authenticate: Bearer resource_metadata="https://api.0xinsider.com/.well-known/oauth-protected-resource" (RFC 6750 section 3, RFC 9728).
Headers
Optional safe-retry key. Reuse the same value only when retrying the exact same mutation request body; a different body returns 422 and an in-flight matching request returns 409.
1 - 255Path Parameters
Webhook endpoint id owned by the authenticated API key user.
Delivery id from GET /api/v1/webhooks/{id}/deliveries. It must belong to the webhook endpoint named by id.
Response
The requeued delivery, in the same shape as one GET /api/v1/webhooks/{id}/deliveries row.
"webhook_delivery"Owner-scoped view of one webhook delivery attempt. Deliberately omits the request body and the endpoint signing secret: a delivery log never re-exposes the payload or any secret material.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?