POST
/media/uploadUpload Media
Upload an image, video, or PDF carousel. Returns an S3 URL to reference when creating posts. Use multipart/form-data with a "file" field.
Body Parameters
| Name | Type | Description |
|---|---|---|
| file* | file | File to upload (images, videos, or PDFs). Max 100MB. |
Response
200{
"success": true,
"data": {
"url": "https://s3.amazonaws.com/...",
"type": "image",
"size": 245000,
"mimeType": "image/png"
}
}