- API
- Convert Videos
Convert videos
GET
https://send.now/api/video/encode?key=1ltghrilhllgrx2b2&file_code=jfru5kl9dhrt
https://send.now/api/video/encode?key=1ltghrilhllgrx2b2&file_code=jfru5kl9dhrt,gtl2ka3ppm1x&q=360,720
| Parameters |
Description |
Example |
Format |
Required |
| key |
API-Key |
1ltghrilhllgrx2b2 |
String |
yes |
| file_code |
File codes of your videos, comma separated (at most 20) |
jfru5kl9dhrt |
String |
yes |
| q |
Only these qualities: l n h x (Low, Normal, HD, UHD) or the height (360, 720). Without it: every quality your plan makes for the video |
360,720 |
String |
no |
cURL example
curl --include \
'https://send.now/api/video/encode?key=1ltghrilhllgrx2b2&file_code=jfru5kl9dhrt'
Response
{
"msg": "OK",
"result": {
"queued": 1,
"files": [
{
"file_code": "jfru5kl9dhrt",
"status": "queued",
"qualities": [
"l",
"n",
"h"
]
},
{
"file_code": "gtl2ka3ppm1x",
"status": "skipped",
"reason": "Not enough Direct Link Traffic: the video waits and is converted once you have some"
}
]
},
"status": 200,
"server_time": "2026-11-16 12:19:28"
}
Cancel
GET
https://send.now/api/video/encode_cancel?key=1ltghrilhllgrx2b2&file_code=jfru5kl9dhrt
| Parameters |
Description |
Example |
Format |
Required |
| key |
API-Key |
1ltghrilhllgrx2b2 |
String |
yes |
| file_code |
File codes of your videos, comma separated (at most 20) |
jfru5kl9dhrt |
String |
yes |
| q |
Only these qualities (as above). Without it: every job of the video that still waits |
h |
String |
no |
Response
{
"msg": "OK",
"result": {
"cancelled": 2,
"files": [
{
"file_code": "jfru5kl9dhrt",
"cancelled": [
"n",
"h"
],
"running": [
"l"
]
}
]
},
"status": 200,
"server_time": "2026-11-16 12:19:28"
}
Notice
|
A video is converted to the qualities of your plan, the same way as a new upload: the rules of your plan (Direct Link Traffic, videos per day) apply. The answer says for each video what was queued or why not. Follow the progress with Encoding Queue and File Encodings. |
|
A quality that is made or queued already is not queued again. Convert new videos (My Account > Videos) is about new uploads: a video you ask for here is converted either way. |
|
A copy of somebody else's file is never converted: the original upload is. A file with end-to-end encryption is never converted. |
|
Cancel takes out the jobs that wait; a quality that is being converted right now goes on (running). If converting took Direct Link Traffic and you cancel every job before a quality is made, the traffic comes back (refunded, bytes). |
|
Errors: 400 invalid file code, more than 20 codes, unknown quality; 403 video encoding is off or not in your plan; 404 none of the files is yours; 429 too many calls in an hour. |
Status code
| 200 |
Everything is OK. Request succeeded |
| 400 |
Bad request (e.g. wrong parameters) |
| 403 |
Permission denied (the feature is off, or not in your plan) |
| 404 |
File not found |
| 429 |
Too many requests |