Перейти к основному содержанию
POST
Create lesson

Авторизации

Authorization
string
header
обязательно

API token from the Zenedu dashboard

Параметры пути

bot
integer
обязательно

Bot ID

product
integer
обязательно

Product ID

Тело

application/json
name
string
обязательно
Maximum string length: 255
text
string | null

Up to 4000 characters without tags

active
boolean
access_time
object

When the lesson opens

settings
object

Lesson-open notification settings

Ответ

Created lesson

data
object