Skip to main content
POST
Create profile item

Авторизации

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

API token from the Zenedu dashboard

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

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

Bot ID

Тело

application/json
type
enum<string>
обязательно
Доступные опции:
link,
shop
title
string
обязательно
Maximum string length: 100
icon
string
обязательно
Maximum string length: 100
url
string<uri> | null

Required when type is link

Maximum string length: 2048

Ответ

Item created

data
object

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

item
object

The affected item