API Documentation

1 Video Converters

Convert video files to different formats.

Example request with curl

curl -X POST "https://convert.tigerra.com/video/mp4-to-webm" \
-H "Authorization: Bearer your-token" \
-F "file=@/path/file.mp4"
Valid url parameters
mp4-to-webm, avi-to-webm, flv-to-webm, mkv-to-webm, mpeg-to-webm, wmv-to-webm, webm-to-mp4, avi-to-mp4, flv-to-mp4, mkv-to-mp4, mpeg-to-mp4, wmv-to-mp4, webm-to-avi, mp4-to-avi, flv-to-avi, mkv-to-avi, mpeg-to-avi, wmv-to-avi, webm-to-mpeg, avi-to-mpeg, mkv-to-mpeg, flv-to-mpeg, webm-to-flv, avi-to-flv, mkv-to-flv, mpeg-to-flv, wmv-to-flv

2 After the conversion request, you will receive a PID with which you can check the status of your request and delete the file.

{
    "status":"pending",
    "pid":"1:7a005b208e60445389c7930b376f91e4"
}

3 To check the status of the convertion, use the following request.

Example status check request

curl -X GET "https://convert.tigerra.com/get-status/1:7a005b208e60445389c7930b376f91e4" \
-H "Authorization: Bearer your-token"
Read more

4 If the conversion is successful, you will receive a status of 'completed' and a data attribute containing the download URL.

Example status check response

{
   "status": "completed",
   "data": "https://convert.tigerra.com/download/My9kZjkxZGZhMzNmMWE0NmZjODYwZDk4YmE3MDAxOTIwMi0xNzMwOTE0MjY1LTM6YmFlMmE3N2FkNjRiNGE0OTljYzZlYTkwYjA2ZWE3NmQvMS5tcDM"
}

5 Download the converted file. Receive the file as a stream or multiple files urls for download as a stream.

curl -X GET "https://convert.tigerra.com/download/My9kZjkxZGZhMzNmMWE0NmZjODYwZDk4YmE3MDAxOTIwMi0xNzMwOTE0MjY1LTM6YmFlMmE3N2FkNjRiNGE0OTljYzZlYTkwYjA2ZWE3NmQvMS5tcDM" \
-H "Authorization: Bearer your-token" \
--output downloaded_file.ext
Read more

6 Delete the file.

curl -X DELETE "https://convert.tigerra.com/delete-pid/1:7a005b208e60445389c7930b376f91e4" \
-H "Authorization: Bearer your-token"
Read more
<- API Endpoints