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/media

Request

  • Base URL: https://api.woopsocial.com/v1
  • URL: https://api.woopsocial.com/v1/media
  • Auth: HTTP bearer

Query parameters

projectIdstring required

Project that will own the uploaded media.

Response

Media uploaded.

mediaIdstring required

Media identifier.

Changes

No recorded changes to this operation across all 1 revision of this API.