cURL
curl --request POST \ --url https://api.social-api.ai/v1/media/upload \ --header 'Authorization: <api-key>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file'
{ "media_id": "<string>" }
Upload a media file directly through the API server.
Documentation IndexFetch the complete documentation index at: https://docs.social-api.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.social-api.ai/llms.txt
Use this file to discover all available pages before exploring further.
Prefix your API key with "Bearer ". Example: Authorization: Bearer sapi_key_...
Authorization: Bearer sapi_key_...
Media file to upload (max 50 MB)
Created