API Documentation

Upload File

POST /upload

Upload a file using multipart/form-data.

file (required) - The file to upload (max 300MB)

expire (optional) - Auto-delete after: 1h, 6h, 24h, 7d, 30d

Example: cURL

# Permanent upload
curl -F "file=@image.png" https://zale.wtf/upload

# Auto-delete after 24 hours
curl -F "file=@image.png" -F "expire=24h" https://zale.wtf/upload

Response

{
  "success": true,
  "url": "https://zale.wtf/uploads/abc123.png",
  "filename": "abc123.png",
  "size": 12345,
  "expires": "2024-01-02T12:00:00Z"  // only if expire was set
}

Rate Limits

10 uploads per 15 minutes per IP address.

← Back to upload