Skip to main content

Step 3 - Check Video Status

To find the status of your video you can send an HTTP GET request to

https://dev.vdocipher.com/api/videos/{{videoID}}

The following are the status values that may be returned:

  • Pre-Upload - Upload policy has been returned (Step 1 is successful), but file is not yet uploaded (Step 2 not yet complete)
  • Queued - Video has been uploaded and is being encoded and encrypted (Step 1 and Step 2 complete)
  • ready - Video is ready for playback

Apart from video status, the video contains all details of the video. These include title, description, video upload time, video length, poster image URLs and associated tags.

{
"id": "1234567890",
"title": "zoo.mp4",
"description": "",
"upload_time": 15197xxxxx,
"length": 25,
"status": "ready",
"posters": [
{
"width": 854,
"height": 480,
"posterUrl": "https://d1z78r8i505acl.cloudfront.net/poster/123456.480.jpeg"
},
{
"width": 427,
"height": 240,
"posterUrl": "https://d1z78r8i505acl.cloudfront.net/poster/123456.240.jpeg"
}
],
"tags": [
"abcd",
"mnop"
]
}

Sample Code for Video List​

The sample video ID is written as {{videoID}}. Replace this with your video ID.

curl -X GET \
https://dev.vdocipher.com/api/videos/{{videoID}} \
-H 'Accept: application/json'