- API
- Copy file
GET
https://send.now/api/file/clone?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/clone?key=1ltghrilhllgrx2b2&file_code=eb58d02u8znz'
Response
{
"msg": "OK",
"result": {
"filecode": "hloovuokqrh9",
"url": "https://send.now/hloovuokqrh9"
},
"status": 200,
"server_time": "2024-08-26 12:33:54"
}
Status code
| 200 |
Everything is OK. Request succeeded |
| 400 |
Bad request (e.g. wrong parameters) |
| 403 |
Permission denied |
| 404 |
File not found |
| 451 |
Unavailable
|