v1
latestOpenAPI 3.0.12026-08-062532117.6 KBCreate an affiliate link
Creates an additional referral link for an existing affiliate. An affiliate can own any number of links, which is useful for running separate campaigns under one affiliate.
Identify the affiliate with either affiliateId or affiliateEmail — a link cannot exist without an affiliate. The link slug may contain only letters, numbers and hyphens, and must be unique within the program.
Fires the affiliate.updated webhook for the link's owner.
post/links
Request body
Example request
{
"link": "summer-campaign"
}Response
The created affiliate link, with counters at zero and its full URLs already generated.