Upload media
Media
Upload media
Uploads a media file in a single request and creates a media item.
The server determines the media MIME type from the uploaded file.
Send a multipart/form-data request with the file in the file field.
Example:
curl -X POST 'https://api.woopsocial.com/v1/media?projectId=YOUR_PROJECT_ID' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-F 'file=@/path/to/image.jpg'
Use this endpoint for straightforward uploads up to 100 MB.
For larger files, or when you need presigned part URLs, use the upload
session flow under /media/upload-sessions.
POST
Upload media
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Project that will own the uploaded media.
Body
multipart/form-data
Media file to upload. Maximum size is 100 MB.
Response
200 - application/json
Media uploaded.
Media identifier.