gifts
Create Gift Code
Create a new gift code for the authenticated user.
This endpoint creates a gift code that can be shared with others. The gift code grants 1 year of premium access when redeemed.
Args: request: CreateGiftCodeRequest with RevenueCat product and purchase IDs
Returns: CreateGiftCodeResponse with the generated gift code
post/api/gifts/code
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.