Upload files to Vidgo API using Base64-encoded data or Data URL format
data:image/png;base64,iVBORw0KGgo... (recommended)
iVBORw0KGgo... (without MIME type prefix)
temp/ prefix in the storage path
upload_path: "profile-images", the actual path will be temp/profile-images
file_name is not provided, the system generates a unique name in the format: {timestamp}_{random}_{extension}
20251229130857_a8B9cD2e.png
429 Too Many Requests error
data: prefix or ;base64, separator)
All API endpoints require Bearer Token authentication
Get your API Key:
Visit the API Key Management Page to get your API Key
Add it to the request header:
Authorization: Bearer VIDGO_API_KEYBase64-encoded file data.
Supports two formats:
Data URL format: data:image/png;base64,iVBORw0KGgo...
Pure Base64 string: iVBORw0KGgo... (without MIME type prefix)
Supported formats: JPEG, PNG, GIF, WebP
Note: The Base64 string should not include any whitespace or newline characters.
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg=="
Custom storage directory path.
If not specified, the system will auto-categorize the file.
Note: All files are stored with a temp/ prefix regardless of the specified path.
"profile-images"
Custom filename for the uploaded file.
If not specified, the system will generate a unique filename in the format: {timestamp}_{random}_{extension}
Example auto-generated name: 20251229130857_a8B9cD2e.png
"user-avatar.png"