Skip to main content

Adding videos from HTTP(s)/FTP urls

Send an HTTP PUT request to the API endpoint https://dev.vdocipher.com/api/videos/importUrl to initiate video import from any HTTP/ FTP URL. A JSON Object containing the URL needs to be passed

url is the only required property in this input object. The other properties are optional.

{
"url": "{{URLString}}",
"folderId": "{{folderID}}",
"title": "{{videoTitle}}"
}

Folder id can be copied from dashboard as shown below. For saving to top-level, use the folderId: root

Some video streaming service providers provide API through which you may access the original video file, to initiate video import.

Import Video URL Sample Code​

The URL of the video is presented as {{URLString}} in the sample code. Replace it with your desired URL String.

curl -X PUT \
https://dev.vdocipher.com/api/videos/importUrl \
-H 'Accept: application/json' \
-H 'Authorization: Apisecret a1b2c3d4e5' \
-H 'Content-Type: application/json' \
-d '{
"url": "{{URLString}}",
"folderId": "{{folderID}}",
"title": "{{videoTitle}}"
}'