Skip to main content
POST
Create broadcast button

Authorizations

Authorization
string
header
required

API token from the Zenedu dashboard

Path Parameters

bot
integer
required

Bot ID

broadcast
integer
required

Broadcast ID

Body

application/json
name
string

Button label

type
enum<string>

Button type

Available options:
link,
task,
action,
offer,
affiliate,
app

URL for link buttons

offer_id
integer | null

Offer ID for offer buttons

actions
object[]

Button actions

settings
object

Button settings

Response

Button created

data
object