referral

Get User Referral Code

Get referral code for user user which can be used to reffer other users.

Read-only: the promo code is whatever the member has already activated. Minting one creates discounts at Dodo and Lemon Squeezy, so it happens only on an explicit activate / set request, never from loading the page.

get/v1/referral/user_refferal_code

Request

  • Base URL
    https://api.linktodm.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Response

Successful Response

referral_codestring required
promo_codestring nullable
promo_discount_percentinteger nullable
suggested_promo_codestring nullable
can_referboolean
min_followersinteger
state'LOCKED_FREE' | 'LOCKED_FOLLOWERS' | 'ELIGIBLE' | 'ACTIVATED'

Where a member stands in the referral programme.

LOCKED_FREE no paid plan LOCKED_FOLLOWERS paid, but no Instagram account over the follower bar ELIGIBLE allowed a code, hasn't activated one yet ACTIVATED holds a live code

Changes

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