Welcome to the documentation for our file hosting API. You can use this API to upload, list, and delete your files programmatically.
All API requests must be authenticated using a personal API key. To get your key:
You must include your key in every request in the X-API-Key HTTP header.
curl "https://host.jeliteng.id/automation_api.php" \
-H "X-API-Key: YOUR_SECRET_API_KEY"
API access is rate-limited based on your subscription plan. The number of requests (uploads and deletes) is counted daily and resets at midnight UTC.
You can view your current usage and upgrade your plan from your dashboard.
Upload a new file to your account.
POST https://host.jeliteng.id/automation_api.php
| Header | Description |
|---|---|
X-API-Key | Your personal API key. |
| Field | Description |
|---|---|
file | The file you want to upload. |
curl -X POST "https://host.jeliteng.id/automation_api.php" \
-H "X-API-Key: YOUR_SECRET_API_KEY" \
-F "file=@/path/to/your/file.jpg"
{
"success": true,
"file": "1678886400_file.jpg",
"view_url": "https://host.jeliteng.id/view.php?file=1678886400_file.jpg"
}
Retrieve a list of all files in your account.
GET https://host.jeliteng.id/automation_api.php
| Header | Description |
|---|---|
X-API-Key | Your personal API key. |
curl "https://host.jeliteng.id/automation_api.php" \
-H "X-API-Key: YOUR_SECRET_API_KEY"
[
{
"name": "1678886400_file.jpg",
"modified": "2025-09-27 08:15:00"
},
{
"name": "1678886550_document.pdf",
"modified": "2025-09-27 08:16:30"
}
]
Permanently delete one of your files.
DELETE https://host.jeliteng.id/automation_api.php?file={saved_file_name}
| Header | Description |
|---|---|
X-API-Key | Your personal API key. |
| Parameter | Description |
|---|---|
file | The unique saved name of the file you want to delete (e.g., 1678886400_file.jpg). |
curl -X DELETE "https://host.jeliteng.id/automation_api.php?file=1678886400_file.jpg" \
-H "X-API-Key: YOUR_SECRET_API_KEY"
{
"success": true,
"message": "File '1678886400_file.jpg' deleted."
}