Documentation Index
Fetch the complete documentation index at: https://docs.sacul.cloud/llms.txt
Use this file to discover all available pages before exploring further.
Upload one or more files to a specific bucket and optional path.
As stated before and following our recent API update, uploading files is now exclusively supported via multipart/form-data.Old methods such as binary or base64 are now deprecated and removed from the API.
Authentication
Requires an API Key via Authorization, X-API-Key, or apiKey query parameter.
Content-Type
string
default:"multipart/form-data"
required
multipart/form-data
Query Parameters
If false, handle duplicates with Windows-style (1) suffix.
If true, randomizes the filename with a UUID.
One or more files to upload.
Response
{
"success": true,
"message": "Successfully uploaded X file(s)",
"url": "https://cdn.sacul.cloud/bucket/file.png",
"urls": ["..."]
}
Examples
curl -X POST https://cdn.sacul.cloud/my-bucket/images/ \
-H "Authorization: Bearer <your-api-key>" \
-F "files=@/path/to/your/image.png"