Skip to main content

Save referral code to session

POST 

/ref/:code

Public endpoint that saves a referral code to the caller's session for later use; the code is applied automatically during user registration if it is a valid referral code. An empty code does not return 400: the response is 200 with status: "error" in the body.

Request​

Responses​

Referral code processed (success or a soft in-body error).