Перейти к основному содержанию
POST
Create source link

Авторизации

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

API token from the Zenedu dashboard

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

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

Bot ID

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

Offer ID

Тело

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

Link name

Maximum string length: 255
code
string | null

Your own identifier for the link, returned in orders and webhooks as source_link.code. Latin letters, digits, - and _, up to 32 characters. Must be free among the codes of source links and the public link slugs (bot_slug, landing_slug) of offers, funnels and funnel links. Generated when omitted. Can be changed later with PATCH, the old addresses then stop working

Maximum string length: 32
Pattern: ^[A-Za-z0-9_-]+$
utm_source
string | null

Traffic source, e.g. instagram. Lowercased, characters other than a-z, 0-9, - and _ are replaced with -

Maximum string length: 200
utm_medium
string | null

Traffic type, e.g. stories, ads, email. Lowercased, characters other than a-z, 0-9, - and _ are replaced with -

Maximum string length: 200
utm_campaign
string | null

Campaign name. Lowercased, characters other than a-z, 0-9, - and _ are replaced with -

Maximum string length: 200
utm_term
string | null

Ad keywords. Lowercased, characters other than a-z, 0-9, - and _ are replaced with -

Maximum string length: 200
utm_content
string | null

Distinguishes ads within a campaign. Lowercased, characters other than a-z, 0-9, - and _ are replaced with -

Maximum string length: 200

Ответ

Source link created

data
object