Base URL
https://api.videowise.com
Upload Media
POST /external/media/v1
Uploads a video or image file to Videowise.
Headers
| Key | Type | Required | Description |
|---|---|---|---|
X-Videowise-Access-Token | String | Yes | Access token to authorize the request. |
Request Body
The request must be sent asmultipart/form-data.
| Field | Type | Required | Description |
|---|---|---|---|
fileContent | File | Yes | The media file to upload. |
File Limitations
Video Files
Max size: 50 MBSupported formats:
.mp4.mov
Image Files
Max size: 5 MBSupported formats:
.jpeg/.jpg.webp.png.gif.avif
Example Request
Response
| Field | Type | Description |
|---|---|---|
id | String | The unique identifier of the uploaded media. |
url | String | The URL of the uploaded media file. |
| Status | Description |
|---|---|
200 | Media uploaded successfully. |
400 | Bad request. File type or size is not supported. |
401 | Unauthorized access. |
Error Codes
| Status | Description |
|---|---|
400 | Bad request. File type is not allowed or file exceeds the size limit. |
401 | Unauthorized. Access token is missing or invalid. |