cURL
curl --request POST \ --url https://api.reftree.co/campaigns/{campaignId}/participants \ --header 'Content-Type: application/json' \ --data ' { "username": "<string>" } '
{ "id": "<string>", "campaignId": "<string>", "type": "idle", "username": "<string>", "origin": "facebook" }
After being created, the participant cannot be counted as a referral for another participant.
API token authorization
facebook
x
whatsapp
linkedin
mail
The UUID of the referrer
The participant record that was created.
idle
ambassador