Response Body

ParameterDescription
idid of uploaded asset
namename of uploaded asset
file_typefile type of uploaded asset (image, video)
folder_idfolder of this asset
metametadata of this asset

The response will provide you with an id, representing the asset ID of the uploaded image.

Image

Specify the content type of the image, which should be image/jpeg for JPEG files or image/png for PNG files. The API will respond with an id that represens your asset.

File typeContent type
JPEGimage/jpeg
PNGimage/png

Video

Specify the content type of the video, which should be video/mp4 for MP4 files or video/webm for WEBM files. The API will respond with an id that represents your asset.

File typeContent type
MP4video/mp4
WEBMvideo/webm

Audio

Specify the content type of the audio, which should be audio/mpeg for MPEG files. The API will respond with an id that represents your asset.

File typeContent type
MPEGaudio/mpeg
Language
Authorization
Header
Click Try It! to start a request and see the response here!