Skip to main content
POST
Create an affiliate

Authorizations

Authorization
string
header
required

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

Body

application/json
email
string<email>
Example:

"promoter@example.com"

name
string
Example:

"Jane Promoter"

ref_code
string

Optional referral code; auto-generated when omitted.

Example:

"jane"

Response

Affiliate created

object
string
Example:

"affiliate"

data
object