- API
- Audio Tracks
GET
https://send.now/api/video/audio?key=1ltghrilhllgrx2b2&file_code=jfru5kl9dhrt
https://send.now/api/video/audio?key=1ltghrilhllgrx2b2&file_code=jfru5kl9dhrt&id=a12&def=1
https://send.now/api/video/audio?key=1ltghrilhllgrx2b2&file_code=jfru5kl9dhrt&id=a12&delete=1
| Parameters |
Description |
Example |
Format |
Required |
| key |
API-Key |
1ltghrilhllgrx2b2 |
String |
yes |
| file_code |
File code of one of your videos |
jfru5kl9dhrt |
String |
yes |
| audio_file |
A new track: the audio file (mp3, m4a, aac, wav ...), multipart |
spanish.m4a |
File |
no |
| lang |
Language of the track (spa, es, Spanish). Needed for a new track |
spa |
String |
no |
| kind |
main, commentary or described (audio description) |
main |
String |
no |
| id |
A track of the list, to change or delete it |
a12 |
String |
no |
| def |
1 = the player plays this track first |
1 |
Number |
no |
| shown |
0 / 1: the player offers the track |
1 |
Number |
no |
| offset |
Seconds the track is moved to match the picture |
-0.5 |
Number |
no |
| delete |
1 = delete the track |
1 |
Number |
no |
cURL example: add a track
curl --include \
-F 'file_code=jfru5kl9dhrt' \
-F 'lang=spa' \
-F '[email protected]' \
'https://send.now/api/video/audio?key=1ltghrilhllgrx2b2'
Response
{
"msg": "OK",
"result": {
"file_code": "jfru5kl9dhrt",
"max_tracks": 8,
"max_mb": 95,
"tracks": [
{
"id": "a11",
"lang": "eng",
"code": "en",
"kind": "main",
"src": "video",
"state": "ready",
"def": 1,
"shown": 1,
"offset": 0,
"mb": 0,
"file": ""
},
{
"id": "a12",
"lang": "spa",
"code": "es",
"kind": "main",
"src": "upload",
"state": "working",
"def": 0,
"shown": 1,
"offset": 0,
"mb": 4.2,
"file": "spanish.m4a"
}
]
},
"status": 200,
"server_time": "2026-11-16 12:19:28"
}
Notice
|
A new track is working while the file server converts it, then ready (with its url) or failed (with error). The answer is always the list of tracks. |
|
Not for files with a password, a price, Premium only, end-to-end encryption or in a members-only channel: anybody with the address of a track can play it. |
|
Needs the audio tracks feature of the site and your plan. Limits of the site: tracks per video, the size of a file, tracks added per hour (429). |
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 |