API Documentation

Welcome to the documentation for our file hosting API. You can use this API to upload, list, and delete your files programmatically.

Authentication

All API requests must be authenticated using a personal API key. To get your key:

  1. Create an account on our service.
  2. Log in to your new account.
  3. Go to your user dashboard to find your unique API 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"

Rate Limiting

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.

Endpoints

POST Upload a File

Upload a new file to your account.

POST https://host.jeliteng.id/automation_api.php

Headers

HeaderDescription
X-API-KeyYour personal API key.

Body (multipart/form-data)

FieldDescription
fileThe file you want to upload.

Example (cURL)

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 Response (200 OK)

{
    "success": true,
    "file": "1678886400_file.jpg",
    "view_url": "https://host.jeliteng.id/view.php?file=1678886400_file.jpg"
}

GET List Your Files

Retrieve a list of all files in your account.

GET https://host.jeliteng.id/automation_api.php

Headers

HeaderDescription
X-API-KeyYour personal API key.

Example (cURL)

curl "https://host.jeliteng.id/automation_api.php" \
-H "X-API-Key: YOUR_SECRET_API_KEY"

Success Response (200 OK)

[
    {
        "name": "1678886400_file.jpg",
        "modified": "2025-09-27 08:15:00"
    },
    {
        "name": "1678886550_document.pdf",
        "modified": "2025-09-27 08:16:30"
    }
]

DELETE Delete a File

Permanently delete one of your files.

DELETE https://host.jeliteng.id/automation_api.php?file={saved_file_name}

Headers

HeaderDescription
X-API-KeyYour personal API key.

URL Parameters

ParameterDescription
fileThe unique saved name of the file you want to delete (e.g., 1678886400_file.jpg).

Example (cURL)

curl -X DELETE "https://host.jeliteng.id/automation_api.php?file=1678886400_file.jpg" \
-H "X-API-Key: YOUR_SECRET_API_KEY"

Success Response (200 OK)

{
    "success": true,
    "message": "File '1678886400_file.jpg' deleted."
}