Skip to main content
POST
Create source link

Authorizations

Authorization
string
header
required

API token from the Zenedu dashboard

Path Parameters

bot
integer
required

Bot ID

offer
integer
required

Offer ID

Body

application/json
name
string
required

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

Response

Source link created

data
object