Skip to main content
PUT
/
participants
/
{participantId}
/
enroll
/
code
Enroll with a code
curl --request PUT \
  --url https://api.reftree.co/participants/{participantId}/enroll/code
{
  "ambassadorIdentifier": "<string>"
}

Headers

Authorization
string

API token authorization

Path Parameters

participantId
string
required

Response

200 - application/json

Participant enrolled successfully

ambassadorIdentifier
string
required