Skip to main content

Upload File

Using upload file API#

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

curl --L --X POST 'https://storage-api.videosdk.live/v1/files' \--header 'Authorization: `jwt token goes here`' \--header 'Content-Type: multipart/form-data'--form 'file=mock-video.mp4"'

Response#

  • __responseobject

      Properties
    • urlstring

Response#

  • __responseobject

      Response
    • metaobject

        • resolutionobject

        • widthnumber

        • heightnumber

  • formatstring

  • durationnumber

  • jobIdstring

  • filePathstring

  • sizenumber

  • typestring

  • createdAtdate

  • updatedAtdate

  • fileUrlstring

  • idstring