Skip to main content
POST
Create step button

Authorizations

Authorization
string
header
required

API token from the Zenedu dashboard

Path Parameters

bot
integer
required

Bot ID

product
integer
required

Funnel ID

step
integer
required

Step ID

Body

application/json
type
enum<string>
required

task is the submission button a task step gets automatically: it cannot be created by hand (422 on type) and is accepted only when updating that existing button.

Available options:
link,
task,
action,
offer,
affiliate,
app
name
string
required
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.

Response

Step with the new button

data
object