Skip to main content
POST
Generate funnel link

Авторизации

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

API token from the Zenedu dashboard

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

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

Bot ID

Тело

application/json
funnel_id
integer
обязательно

ID of the funnel

name
string
обязательно

Name for the generated link

expire_date
string

Expiration date in Y-m-d H:i:s format (must be in the future)

Пример:

"2026-12-31 23:59:59"

request_email
boolean

Whether to request email on the landing page

request_phone
boolean

Whether to request phone on the landing page

tags
string[]

Tags to assign to subscribers who use this link

Ответ

Funnel link generated, or an error payload when the funnel is not found

status
string
Пример:

"success"

data
object