Skip to main content
PUT
/
participants
/
{participantId}
/
enroll
/
social-links
Enroll with social links
curl --request PUT \
  --url https://api.reftree.co/participants/{participantId}/enroll/social-links
[
  {
    "destination_utm_source": "facebook",
    "link": "<string>"
  }
]

Headers

Authorization
string

API token authorization

Path Parameters

participantId
string
required

Response

200 - application/json

The referral links for the participant

destination_utm_source
enum<string>
required

Advised usage destination for the link

Available options:
facebook,
x,
whatsapp,
linkedin,
mail,
base