OmniSocials API
string · requiredstring · requiredstring
string · uri · requiredstringstring
Upload media from base64 data
POST
/media/upload-from-base64
Upload a file from base64-encoded data. Useful for MCP integrations where the AI has image data but no URL. Max 50MB after decoding.
Upload media from base64 data › Request Body
dataBase64-encoded file data (without data URI prefix)
mime_typeMIME type of the file (e.g. image/jpeg, image/png)
filenameOptional filename
Upload media from base64 data › Responses
File uploaded successfully
Upload media from a URL
POST
/media/upload-from-url
Download a file from a URL and upload it to your media library. Useful for MCP integrations and programmatic uploads.
Upload media from a URL › Request Body
urlHTTP or HTTPS URL of the file to download (max 50MB)
filenameOptional filename override
Upload media from a URL › Responses
File uploaded successfully
message