Files API Documentation

A modern and efficient API for file uploads and management with simple integration and fast responses.

Upload File

Upload a file to our secure servers and receive a unique ID and download URL.

POST https://upfile.autsc.my.id/api/file

Example Request

cURL
curl -F "file=@/path/to/your/file.jpg" https://upfile.autsc.my.id/api/file

Example Response

JSON
{
  "id": "BQACAgUAAxkDAAN0Z9VLeT0uKYkZCQjdN7noRlnhJggAAswTAALHyqlWvhFL8X7kMZU2BA",
  "download": "https://upfile.autsc.my.id/download/BQACAgUAAxkDAAN0Z9VLeT0uKYkZCQjdN7noRlnhJggAAswTAALHyqlWvhFL8X7kMZU2BA"
}

ID

A unique identifier for the uploaded file. Use this ID to reference the file in other API calls.

Download URL

A direct URL to download the uploaded file. This link can be shared or used in your applications.

Try It Out

You can test the API directly using the cURL command below. Replace /path/to/your/file.jpg with an actual file path on your system.

curl -F "file=@/path/to/your/file.jpg" https://upfile.autsc.my.id/api/file

For a more interactive testing experience, consider using tools like Postman or Insomnia with the same endpoint and form-data parameters.