v1

OpenAPI 3.0.02026-07-13811489.0 KB
Claim Actions

Claim Code

Claims a code for a user. Code can be affiliate, promo or referral code.

post/users/{app_user_id}/claim-code

Path parameters

app_user_idstring required

The app user id of the user to claim the code for.

Headers

x-api-keystring required

The API key to authenticate with.

Request body

codestring required

The code to claim. Can be affiliate, promo or referral code.

Example request

{
  "code": "XYZ123"
}

Response

Updated user and granted rewards.