v4
latestOpenAPI 3.1.02026-08-08221179273.1 KBreferrals
Get Or Create Referral Code
Get the authenticated user's referral code, creating one if it doesn't exist. If the user has an active code, it will be returned. If not, a new code will be created and returned.
Returns: ReferralCodeResponse with code details
get/api/referrals/code
Headers
x-user-idstring nullable
Response
Successful Response