Skip to main content

Upload File

This guide will provide an overview of how to upload video/image using generated token , for token generation you can follow Authentication.

Upload file API provides end-to-end secure way to upload your file directly to our servers from your client app.

Body Params#

Property NameTypeDescription
fileform-data/ fileVideo file you would like to upload.
curl --L --X POST '' \--header 'Authorization: `jwt token goes here`' \--header 'Content-Type: multipart/form-data'--form 'file=mock-video.mp4"'
  • Response Body
    • idstring

      Unique identifier of file.
    • typestring

      type of file uploaded video or image.
    • sizenumber

      size of uploaded file(in bytes).
    • metaobject

      information about uploaded file such as resolution, format, etc.
    • fileUrlstring

      The url where the file is stored.