{
"id": "evt_1qA7zP",
"createdAt": "2023-11-07T05:31:56Z",
"projectId": "<string>",
"data": {
"video": {
"id": "vid_9xR4tL",
"projectId": "<string>",
"title": "Lesson 1 - Introduction",
"durationSeconds": 123,
"qualities": [],
"sizeBytes": 123,
"failure": {
"code": "unsupported_codec",
"message": "<string>",
"retryable": true
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"readyAt": "2023-11-07T05:31:56Z"
},
"reason": "<string>"
}
}Webhooks
Our team held the video and it does not play
When the hold ends, video.ready is sent again. data.reason says why we
held it, when we have one.
WEBHOOK
video.held
{
"id": "evt_1qA7zP",
"createdAt": "2023-11-07T05:31:56Z",
"projectId": "<string>",
"data": {
"video": {
"id": "vid_9xR4tL",
"projectId": "<string>",
"title": "Lesson 1 - Introduction",
"durationSeconds": 123,
"qualities": [],
"sizeBytes": 123,
"failure": {
"code": "unsupported_codec",
"message": "<string>",
"retryable": true
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"readyAt": "2023-11-07T05:31:56Z"
},
"reason": "<string>"
}
}Headers
Body
application/json
Response
200
Return any 2xx within 10 seconds. Other answers are retried with a
growing wait, up to about 8 attempts, then we mark that delivery failed.
Events can arrive more than once and out of order:
use id to skip duplicates, and ignore an event whose
data.video.updatedAt is older than the one you have (or call
GET video for the current state).