Retry a failed delivery
curl --request POST \
--url https://gengen.farm/api/gengen/v1/webhook-endpoints/{id}/deliveries/{deliveryId}/retry \
--header 'Authorization: Bearer <token>'import requests
url = "https://gengen.farm/api/gengen/v1/webhook-endpoints/{id}/deliveries/{deliveryId}/retry"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://gengen.farm/api/gengen/v1/webhook-endpoints/{id}/deliveries/{deliveryId}/retry', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"queued": true
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Webhooks
Retry a failed delivery
Retry a failed delivery. See the Audio API guide for limits, lifecycle and examples. Only failed deliveries created within the last 24 hours are eligible.
POST
/
webhook-endpoints
/
{id}
/
deliveries
/
{deliveryId}
/
retry
Retry a failed delivery
curl --request POST \
--url https://gengen.farm/api/gengen/v1/webhook-endpoints/{id}/deliveries/{deliveryId}/retry \
--header 'Authorization: Bearer <token>'import requests
url = "https://gengen.farm/api/gengen/v1/webhook-endpoints/{id}/deliveries/{deliveryId}/retry"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://gengen.farm/api/gengen/v1/webhook-endpoints/{id}/deliveries/{deliveryId}/retry', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"queued": true
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}See the Audio API guide for request examples, limits, billing and delivery behavior.