API Integration

Use this URL to upload files via API. Supports both multipart/form-data and raw binary uploads.
Web apps: Use POST with multipart/form-data containing a 'file' field.
Mobile apps: Send raw binary data with appropriate Content-Type header. Use query params for metadata.
curl -X POST -F "file=@yourfile.jpg" \ -F "description=My uploaded file" \ -F "device_name=My App" \ -F "is_public=true" \ [UPLOAD_URL]
curl -X PUT -F "description=Updated description" \ -F "device_name=Updated App" \ -F "is_public=false" \ [UPLOAD_URL]/123
curl -X PUT -F "file=@newfile.jpg" \ -F "description=Updated with new file" \ -F "device_name=Updated App" \ [UPLOAD_URL]/123
curl -X POST \ -H "Content-Type: audio/wav" \ -H "X-Device-Name: My Mobile App" \ --data-binary @audio.wav \ "[UPLOAD_URL]?description=Voice memo&is_public=false"