Official documentation for file and folder uploads
Use this base URL for all API requests.
https://api.boxdrive.net
Upload a single Google Drive file to get direct links.
GET /upload?api=KEY&drive_id=FILE_ID| Parameter | Description |
|---|---|
api * | Your unique API key. |
drive_id * | The Google Drive File ID or full link. |
{
"status": "success",
"fileStatus": "NewAdd",
"key": "abc123xyz",
"name": "example_video.mp4",
"driveId": "google_drive_file_id",
"size": "104857600",
"download": "https://go.gadgetsmania.xyz/file/abc123xyz",
"watch": "https://go.gadgetsmania.xyz/embed/abc123xyz"
}
Upload all files from a Google Drive folder at once.
GET /upload?api=KEY&folder_id=FOLDER_ID| Parameter | Description |
|---|---|
api * | Your unique API key. |
folder_id * | The Google Drive Folder ID or full link. |
{
"status": "success",
"type": "folder",
"total_files": 2,
"files": [
{
"status": "success",
"fileStatus": "NewAdd",
"key": "file_key_1",
"name": "video_part1.mp4",
"driveId": "drive_id_1",
"size": "52428800",
"download": "https://go.gadgetsmania.xyz/file/file_key_1",
"watch": "https://go.gadgetsmania.xyz/embed/file_key_1"
},
{
"status": "success",
"fileStatus": "AlreadyExist",
"key": "file_key_2",
"name": "video_part2.mp4",
"driveId": "drive_id_2",
"size": "52428800",
"download": "https://go.gadgetsmania.xyz/file/file_key_2",
"watch": "https://go.gadgetsmania.xyz/embed/file_key_2"
}
]
}
api is missing.{
"status": "error",
"message": "Wrong Api"
}