referrals
Redeem Referral Code
Redeem a referral code to get premium access.
Restrictions:
- Users cannot redeem their own codes
- Users can only redeem one code (cannot redeem if already redeemed)
- Code must be active and not expired
Args: request: RedeemCodeRequest with the token (the actual code)
Returns: RedeemCodeResponse with success status and access expiry
post/api/referrals/redeem
Request
- Base URLhttps://api.usecreed.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
x-user-idstring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 23 revisions of this API.