Official documentation for APK file uploads
Use this base URL for all API requests.
https://api.apkdrive.cc
Upload an APK file directly using multipart form data.
POST /upload| Parameter | Type | Description |
|---|---|---|
api * |
Field | Your unique API key |
apk_file * |
File | The APK file (multipart/form-data) |
curl -X POST "https://api.apkdrive.cc/upload" \
-F "api=your_api_key" \
-F "apk_file=@/path/to/your_app.apk"
{
"status": "success",
"fileStatus": "NewAdded",
"key": "abc12",
"name": "your_app.apk",
"size": 52428800,
"download": "https://apkdrive.cc/file/abc12"
}
Upload an APK file from a direct download URL.
GET /upload?api=KEY&url=DIRECT_URL| Parameter | Description |
|---|---|
api * |
Your unique API key. |
url * |
Direct download URL pointing to an .apk file. |
{
"status": "success",
"fileStatus": "NewAdded",
"key": "xyz45",
"name": "my_app.apk",
"size": 104857600,
"download": "https://apkdrive.cc/file/xyz45"
}
Get user profile details by API key. Used by Telegram bot for login.
GET /user-info?api=KEY| Parameter | Description |
|---|---|
api * |
Your unique API key. |
{
"status": "success",
"user": {
"user_id": 1,
"first_name": "Abhishek",
"last_name": "Kumar",
"email": "[email protected]",
"site_name": null
}
}
api is missing.
{
"status": "error",
"message": "Only .apk files are allowed"
}