Skip to main content
POST
Create step button

Авторизации

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

API token from the Zenedu dashboard

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

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

Bot ID

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

Product ID

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

Step ID

Тело

application/json
type
enum<string>
обязательно
Доступные опции:
link,
task,
action,
offer,
affiliate,
app
name
string
обязательно
Maximum string length: 250

Required when type is link; https or tg URL

Maximum string length: 250
offer_id
integer | null

Required when type is offer

actions
object[]

Required when type is action

settings
object

Button settings. For link buttons, an absent link_mode means tracked. When replacing a button, send all settings you want to retain; omitted settings are reset.

Ответ

Step with the new button

data
object