referrals
Redeem Promo Code
Redeem a system-generated referral code.
Validates the code against the referral_codes table (case-insensitive), then grants RevenueCat premium for the duration configured on the code (week / month / year), stacking on top of any existing subscription. The grant is recorded in referral_grants.
Restrictions:
- Code must exist in referral_codes and have status = 'active'
- User cannot redeem the same code more than once (no limit on redeeming different codes)
Args: request: RedeemSystemCodeRequest with the code
Returns: RedeemSystemCodeResponse with success status and message
post/api/referrals/redeem-promo
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.