Skip to main content
POST
Create video upload

Authorizations

Authorization
string
header
required

API token from the Zenedu dashboard

Path Parameters

bot
integer
required

Bot ID

product
integer
required

Product ID

lesson
integer
required

Lesson ID

Body

application/json
title
string
required

Video title

Maximum string length: 255
file_size
integer
required

File size in bytes; checked against the storage limit

Required range: x >= 1

Response

Upload created

video_id
integer
status
string
Example:

"uploading"

upload
object

TUS upload credentials for the video host