curl -X POST https://api.verbalisai.com/v1/storage/presigned-upload \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "filename": "audio-recording.mp3", "contentType": "audio/mpeg", "fileSize": 1048576 }'
{ "success": true, "data": { "uploadUrl": "https://r2-bucket.domain.com/upload-path?X-Amz-Algorithm=...", "fileKey": "user123/audio-recording-1642234567.mp3", "expiresIn": 3600, "maxFileSize": 1073741824, "allowedContentTypes": ["audio/mpeg", "audio/wav", "audio/flac"] } }
Generate a presigned URL for direct file upload to storage
Show Upload Information Object