write filescurl --location 'https://api-dev.commandroom.ai/api/api/uploads' \
--header 'Authorization: Bearer {{token}}' \
--header 'X-Tenant-UUID: ' \
--header 'Content-Type: application/json' \
--data '{
"key": "string",
"filename": "Sample Filename",
"content_type": "string",
"size": 1
}'{
"data": {
"upload_id": 1,
"original_name": "Sample Original Name",
"file_name": "Sample File Name",
"file_path": "string",
"mime_type": "string",
"file_size": 1,
"formatted_file_size": "string",
"uploaded_by": 1,
"uploader": {},
"preview_url": "https://example.com/sample",
"download_url": "https://example.com/sample",
"created_at": "2026-01-15T10:30:00.000000Z",
"updated_at": "2026-01-15T10:30:00.000000Z"
},
"message": "Success."
}