Skip to main content
POST
Create menu item

Authorizations

Authorization
string
header
required

API token from the Zenedu dashboard

Path Parameters

bot
integer
required

Bot ID

Body

application/json
type
enum<string>
required
Available options:
link,
shop
title
string
required
Maximum string length: 100
icon
string
required
Maximum string length: 100
url
string<uri> | null

Required when type is link

Maximum string length: 2048

Response

Item created

data
object

Draft of a bot app (mini app or web app) with publication status

item
object

The affected item