GET

https://send.now/api/folder/copy?key=1ltghrilhllgrx2b2&fld_id1=58&fld_id2=59

Parameters Description Example Format Required
key API-Key 1ltghrilhllgrx2b2 String yes
fld_id1 Folder ID to copy 58 Number yes
fld_id2 ID of the destination folder 59 Number yes
fld_name Create a new folder with this name inside the destination folder and copy into it My copy String no

cURL example


curl --include \
'https://send.now/api/folder/copy?key=1ltghrilhllgrx2b2&fld_id1=58&fld_id2=59'
          

Response


          {
            "server_time": "2024-08-26 13:28:37",
            "status": 200,
            "msg": "OK",
            "result": "true",
            "copied": 3,
            "skipped": 1
          }
          

Notice

Copies the files that are directly inside the folder. Subfolders are not copied.
Without fld_name the files go straight into the destination folder (fld_id2, 0 = your root folder). With fld_name a new folder with that name is created there first.
Files in the trash are ignored. Files with a password and DMCA-reported files are not copied; skipped counts them.
Copies are always private. Downloads of a copy of another user's file are credited to the owner of the original file.

Status code

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