Skip to main content
POST
Set Referrer ID

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
account
string
required

Account identifier of the user being referred

platform
string
required

Platform of the user's account

pid
string
required

Campaign ID (must belong to the authenticated organization)

ref_id
string
required

Referral link ID of the referrer (must be valid and not self-referential)

Response

Referral relationship successfully established.

success
boolean
Example:

true

data
object

Empty data object