Resend a delivery
curl --request POST \
--url https://api.reedapt.com/v1/webhook_endpoints/{endpoint_id}/deliveries/{delivery_id}/resend \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.reedapt.com/v1/webhook_endpoints/{endpoint_id}/deliveries/{delivery_id}/resend', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.reedapt.com/v1/webhook_endpoints/{endpoint_id}/deliveries/{delivery_id}/resend"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"id": "whd_0b8e3f1a6c2d9e4f7a5b1c3d",
"event_id": "evt_9a3e1c7b5d2f8e0a4c6b1d3f",
"event_type": "dub.completed",
"status": "pending",
"attempts": 1,
"created_at": "2023-11-07T05:31:56Z",
"last_status_code": 200,
"last_error": "<string>",
"next_attempt_at": "2023-11-07T05:31:56Z",
"delivered_at": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "UPLOAD_INCOMPLETE",
"message": "Complete the upload before dubbing it.",
"request_id": "req_8f2c1e0a9b7d6c5e4f3a",
"fields": [
{
"field": "target_languages",
"message": "Field required"
}
]
}
}{
"error": {
"code": "UPLOAD_INCOMPLETE",
"message": "Complete the upload before dubbing it.",
"request_id": "req_8f2c1e0a9b7d6c5e4f3a",
"fields": [
{
"field": "target_languages",
"message": "Field required"
}
]
}
}{
"error": {
"code": "UPLOAD_INCOMPLETE",
"message": "Complete the upload before dubbing it.",
"request_id": "req_8f2c1e0a9b7d6c5e4f3a",
"fields": [
{
"field": "target_languages",
"message": "Field required"
}
]
}
}{
"error": {
"code": "UPLOAD_INCOMPLETE",
"message": "Complete the upload before dubbing it.",
"request_id": "req_8f2c1e0a9b7d6c5e4f3a",
"fields": [
{
"field": "target_languages",
"message": "Field required"
}
]
}
}{
"error": {
"code": "UPLOAD_INCOMPLETE",
"message": "Complete the upload before dubbing it.",
"request_id": "req_8f2c1e0a9b7d6c5e4f3a",
"fields": [
{
"field": "target_languages",
"message": "Field required"
}
]
}
}Resend a delivery
Send a past delivery’s event to this endpoint again, now. It keeps its event id and body, so a receiver that skips repeats by event id will skip it too.
POST
/
webhook_endpoints
/
{endpoint_id}
/
deliveries
/
{delivery_id}
/
resend
Resend a delivery
curl --request POST \
--url https://api.reedapt.com/v1/webhook_endpoints/{endpoint_id}/deliveries/{delivery_id}/resend \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.reedapt.com/v1/webhook_endpoints/{endpoint_id}/deliveries/{delivery_id}/resend', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.reedapt.com/v1/webhook_endpoints/{endpoint_id}/deliveries/{delivery_id}/resend"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"id": "whd_0b8e3f1a6c2d9e4f7a5b1c3d",
"event_id": "evt_9a3e1c7b5d2f8e0a4c6b1d3f",
"event_type": "dub.completed",
"status": "pending",
"attempts": 1,
"created_at": "2023-11-07T05:31:56Z",
"last_status_code": 200,
"last_error": "<string>",
"next_attempt_at": "2023-11-07T05:31:56Z",
"delivered_at": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "UPLOAD_INCOMPLETE",
"message": "Complete the upload before dubbing it.",
"request_id": "req_8f2c1e0a9b7d6c5e4f3a",
"fields": [
{
"field": "target_languages",
"message": "Field required"
}
]
}
}{
"error": {
"code": "UPLOAD_INCOMPLETE",
"message": "Complete the upload before dubbing it.",
"request_id": "req_8f2c1e0a9b7d6c5e4f3a",
"fields": [
{
"field": "target_languages",
"message": "Field required"
}
]
}
}{
"error": {
"code": "UPLOAD_INCOMPLETE",
"message": "Complete the upload before dubbing it.",
"request_id": "req_8f2c1e0a9b7d6c5e4f3a",
"fields": [
{
"field": "target_languages",
"message": "Field required"
}
]
}
}{
"error": {
"code": "UPLOAD_INCOMPLETE",
"message": "Complete the upload before dubbing it.",
"request_id": "req_8f2c1e0a9b7d6c5e4f3a",
"fields": [
{
"field": "target_languages",
"message": "Field required"
}
]
}
}{
"error": {
"code": "UPLOAD_INCOMPLETE",
"message": "Complete the upload before dubbing it.",
"request_id": "req_8f2c1e0a9b7d6c5e4f3a",
"fields": [
{
"field": "target_languages",
"message": "Field required"
}
]
}
}Authorizations
Response
Successful Response