Перейти к основному содержанию
POST
Update notes

Авторизации

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

API token from the Zenedu dashboard

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

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

Bot ID

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

Subscriber ID

Тело

application/json
notes
string
обязательно

Notes text

Maximum string length: 65535

Ответ

Updated subscriber

id
integer

Subscriber ID

user_id
integer

Telegram user ID

first_name
string

First name

last_name
string | null

Last name

username
string | null

Telegram username

phone
string | null

Phone number

email
string | null

Email address

notes
string | null

Notes about the subscriber

tags
string

Comma-separated list of tag names, empty string if none

is_active
boolean

Whether the subscriber is active

is_blocked
boolean

Whether the subscriber is blocked

last_active_at
string<date-time> | null

Last activity timestamp

created_at
string<date-time>

Subscription timestamp

utm_tags
object

UTM tags keyed by type

custom_fields
object

Custom field values keyed by field name