referrals
Redeem Referral
Redeem a referral code and credit both parties.
Refusals are 400s with a REFERRAL-* error code (see utils/exceptions.py); they are deliberately uniform so probing a code reveals nothing about whether it exists or who owns it.
Args: payload: The submitted code. user: Authenticated session user (the invitee). db: Database session.
Returns: The created grant.
post/api/v1/referrals/redeem
Request
- Base URL: https://memory.kagura-ai.com (the document declares no server; this is the origin it was published from)
- URL: https://memory.kagura-ai.com/api/v1/referrals/redeem
- Auth: none declared
Headers
authorizationstring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 2 revisions of this API.