Upload files (images, documents, etc.) to your dedicated SpiderMedia bucket.
The API playground above does not support file uploads. Use cURL, Postman, or code examples below instead. This endpoint requires multipart/form-data, not JSON.
Request
The file to upload (max 100MB)
Optional folder path within your bucket (e.g., “logos”, “images/products”)
Response
Whether the upload succeeded
Public URL to access the uploaded file
File key within the bucket
MIME type of the uploaded file
Example
curl -X POST "https://spideriq.ai/api/v1/media/files/upload" \
-H "Authorization: Bearer cli_abc123:sk_xxx:secret_xxx" \
-F "file=@company-logo.png" \
-F "folder=logos"
{
"success": true,
"url": "https://media.spideriq.ai/client-cli-abc123/logos/company-logo.png",
"key": "logos/company-logo.png",
"content_type": "image/png",
"size": 15234,
"bucket_name": "client-cli-abc123"
}