Referral

Claim a referral link for the authenticated user

Called when a new user signs up via a referral link (?ref=CODE). Only first-time users who have never subscribed can claim a referral. Each user may only claim one referral link.

post/referral/claim

Request

  • Base URL: https://api.tinyhumans.ai
  • URL: https://api.tinyhumans.ai/referral/claim
  • Auth: HTTP bearer

Request body

codestring required

Referral code extracted from the referral link

deviceFingerprintstring

Optional device fingerprint for abuse prevention

Response

Referral claimed successfully

Changes

No recorded changes to this operation across all 1 revision of this API.