Retry a webhook delivery
curl --request POST \
--url https://{host}/v1/webhook-deliveries/{deliveryId}/retry \
--header 'X-Api-Key: <api-key>'const options = {method: 'POST', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://{host}/v1/webhook-deliveries/{deliveryId}/retry', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/v1/webhook-deliveries/{deliveryId}/retry"
headers = {"X-Api-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event_id": "<string>",
"event": "<string>",
"status": "<string>",
"attempts": 123,
"date_created": "2023-11-07T05:31:56Z",
"next_attempt_at": "2023-11-07T05:31:56Z",
"last_attempt_at": "2023-11-07T05:31:56Z",
"last_status_code": 123,
"last_error": "<string>",
"succeeded_at": "2023-11-07T05:31:56Z",
"payload": "<string>",
"attempt_history": [
{
"number": 123,
"trigger": "<string>",
"url": "<string>",
"duration_ms": 123,
"attempted_at": "2023-11-07T05:31:56Z",
"status_code": 123,
"response_body": "<string>",
"error": "<string>"
}
]
},
"code": "13"
}{
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": null,
"code": "13"
}Webhook deliveries
Retry a webhook delivery
Sends it again now, whatever its status, signed with today’s secret. The same event id, so a receiver that saw it already can ignore it.
Required permission: feature:WEBHOOKS, webhooks:manage
POST
/
v1
/
webhook-deliveries
/
{deliveryId}
/
retry
Retry a webhook delivery
curl --request POST \
--url https://{host}/v1/webhook-deliveries/{deliveryId}/retry \
--header 'X-Api-Key: <api-key>'const options = {method: 'POST', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://{host}/v1/webhook-deliveries/{deliveryId}/retry', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{host}/v1/webhook-deliveries/{deliveryId}/retry"
headers = {"X-Api-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event_id": "<string>",
"event": "<string>",
"status": "<string>",
"attempts": 123,
"date_created": "2023-11-07T05:31:56Z",
"next_attempt_at": "2023-11-07T05:31:56Z",
"last_attempt_at": "2023-11-07T05:31:56Z",
"last_status_code": 123,
"last_error": "<string>",
"succeeded_at": "2023-11-07T05:31:56Z",
"payload": "<string>",
"attempt_history": [
{
"number": 123,
"trigger": "<string>",
"url": "<string>",
"duration_ms": 123,
"attempted_at": "2023-11-07T05:31:56Z",
"status_code": 123,
"response_body": "<string>",
"error": "<string>"
}
]
},
"code": "13"
}{
"success": true,
"message": "<string>",
"request_id": "01a1775167aa7693a7acd8df7b596118",
"data": null,
"code": "13"
}