# WinWinKit ## Docs - [Create or Update User](https://docs.winwinkit.com/api-reference/users/create-or-update-user.md): Create or update a user if already exists. - [Get User](https://docs.winwinkit.com/api-reference/users/get-user.md): Retrieves a user by their app user id. - [Withdraw Credits](https://docs.winwinkit.com/api-reference/rewards-actions/withdraw-credits.md): Withdraws credits from a user. - [Claim Code](https://docs.winwinkit.com/api-reference/claim-actions/claim-code.md): Claims a code for a user. Code can be affiliate, promo or referral code. - [Get Code](https://docs.winwinkit.com/api-reference/codes/get-code.md): Resolves a code to its type (affiliate, promo or referral) and returns the relevant data for that type. Requires no app user id. - [Register App Store Transaction](https://docs.winwinkit.com/api-reference/transactions/app-store.md): Registers the mapping between a user and their Apple originalTransactionId. - [Register Google Play Transaction](https://docs.winwinkit.com/api-reference/transactions/google-play.md): Registers the mapping between a user and their Google Play purchaseToken. - [Get Affiliate Analytics](https://docs.winwinkit.com/api-reference/analytics/affiliates.md): Returns the project affiliates with their totals for a period, oldest joiner first. Affiliates with no activity in the period are omitted. Note 1: this endpoint is only accessible with a secret API key. Note 2: a period may span at most 90 days; request a longer window a period at a time. Note 3: up… - [Grant a Reward](https://docs.winwinkit.com/api-reference/rewards-actions/grant-a-reward.md): Grants a reward for a user. Note 1: currently only granting of credit rewards is supported. Note 2: this endpoint is only accessible with a secret API key. ## OpenAPI Specs - [openapi-yaml](https://api.winwinkit.com/openapi-yaml)