Skip to main content
POST
Create a referral link

Authorizations

Authorization
string
header
required

Workspace API key, e.g. sa_live_…. Scopes: read / write / track / *.

Body

application/json
affiliate_id
string<uuid>
required
destination_url
string<uri>
Example:

"https://shop.example.com/pricing"

ref_param
string
Example:

"jane"

campaign_id
string<uuid>

Response

Link created

object
string
Example:

"link"

data
object