Apply referral code
Apply a referral code to the current user's account.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Headers
X-API-Key
Request
This endpoint expects an object.
code
Referral code to apply
Response
Successful Response
created_at
id
status
pending, completed, or expired
completed_at
referee_avatar
Referee avatar — only present once the referral is COMPLETED (a masked name with a real face would leak identity).
referee_username
rp_amount
RP the referrer earned for this referral (null until awarded).
rp_awarded
Whether RP was awarded to the referrer
stage
Derived funnel stage: ‘signed_up’ | ‘verified’ | ‘completed’.
Errors
401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error

