Skip to main content
POST
/
media
Upload media
curl --request POST \
  --url https://api.woopsocial.com/v1/media \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: */*' \
  --data '"<string>"'
{
  "mediaId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

projectId
string
required

Project that will own the uploaded media.

Body

*/*

Media file to upload. Maximum size is 100 MB.

The Content-Type header is ignored — the server determines the actual media MIME type from the file contents.

Response

200 - application/json

Media uploaded.

mediaId
string
required

Media identifier.