Skip to main content
POST
Add lesson material

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

file
file

File up to 51000 KB: pdf, doc, docx, xls, xlsx, ppt, pptx, txt, csv, mp3, mp4, wav, ogg, zip, rar, jpg, jpeg, png, webp. Required without url, cannot be combined with url

name
string

Title; required with url

Maximum string length: 255

Response

Created material

data
object