Referrals

Get Current Public Offer

Get the current active public referral offer. Returns the highest priority code with available slots.

Used by public landing page to display:

  • Current referral code
  • Slots remaining
  • Reward amounts

Response:

  • available: false = no offer, hide referral UI
  • available: true = show offer with code and slots info
  • slots_remaining: null means unlimited
get/api/referral/current-offer

Response

Successful Response

{"stackTrail":"paths:/api/referral/current-offer:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

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