Send a delivery again
curl --request POST \
--url http://127.0.0.1:44010/v1/webhooks/deliveries/{id}/redeliver \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('http://127.0.0.1:44010/v1/webhooks/deliveries/{id}/redeliver', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://127.0.0.1:44010/v1/webhooks/deliveries/{id}/redeliver"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://127.0.0.1:44010/v1/webhooks/deliveries/{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))
}{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event_id": "<string>",
"endpoint_id": "<string>",
"url": "<string>",
"state": "pending",
"attempts": 123,
"last_status": 123,
"last_error": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"next_attempt_at": "2023-11-07T05:31:56Z",
"last_attempt_at": "2023-11-07T05:31:56Z",
"delivered_at": "2023-11-07T05:31:56Z",
"payload": {}
}{
"error": {
"code": "invalid_request",
"message": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>"
}
}API Reference
Send a delivery again
Needs the crypto:webhooks:manage scope. Works on a delivery in any state. It is queued and sent within moments (202): the same event_id, a fresh signature, and a fresh 72 hour retry window. Your server will see the same event again, so de-duplicate on event_id. If the endpoint has since been disabled or removed, the attempt fails and says so in last_error.
POST
/
v1
/
webhooks
/
deliveries
/
{id}
/
redeliver
Send a delivery again
curl --request POST \
--url http://127.0.0.1:44010/v1/webhooks/deliveries/{id}/redeliver \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('http://127.0.0.1:44010/v1/webhooks/deliveries/{id}/redeliver', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://127.0.0.1:44010/v1/webhooks/deliveries/{id}/redeliver"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://127.0.0.1:44010/v1/webhooks/deliveries/{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))
}{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event_id": "<string>",
"endpoint_id": "<string>",
"url": "<string>",
"state": "pending",
"attempts": 123,
"last_status": 123,
"last_error": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"next_attempt_at": "2023-11-07T05:31:56Z",
"last_attempt_at": "2023-11-07T05:31:56Z",
"delivered_at": "2023-11-07T05:31:56Z",
"payload": {}
}{
"error": {
"code": "invalid_request",
"message": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>"
}
}Response
The delivery, now pending.

