GET

https://send.now/api/file/direct_link?key=1ltghrilhllgrx2b2&file_code=eb58d02u8znz

Parameters Description Example Format Required
key API-Key 1ltghrilhllgrx2b2 String yes
file_code File code eb58d02u8znz String yes

cURL example


curl --include \
'https://send.now/api/file/direct_link?key=1ltghrilhllgrx2b2&file_code=eb58d02u8znz'
          

Response


          {
            "result": {
              "url": "https://d134.sendcdn.com/d/sryy3jkz6cocj4l4pj5vtevayczwo6nfnauk23vrozxo2huk2p4nacnuqkfintnmzyvwm26e/file.zip",
              "size": 9840497
            },
            "msg": "OK",
            "server_time": "2024-08-26 12:57:11",
            "status": 200
          }
          

Notice

The reply is a download link of the file. To play a video in your own player, use Stream Link.
Your Direct Link Traffic has to cover the size of the file.
Refused for files of other accounts (403): a password protected file, a paid file you did not buy, a Premium only file when you are not Premium, and a video whose owner turned on Disable download. Owners and admins are never refused.

Status code

200 Everything is OK. Request succeeded
400 Bad request (e.g. wrong parameters)
403 Permission denied
404 File not found
451 Unavailable