Referral

Generate Referral Code

Generate a unique referral code for the user (or return existing one).

post/api/referral/{user_id}/generate

Request

  • Base URL: https://api.earmarkiq.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.earmarkiq.app/api/referral/{user_id}/generate
  • Auth: HTTP bearer

Path parameters

user_idstring uuid required

Response

Successful Response

referral_codestring required

Changes

No recorded changes to this operation across all 2 revisions of this API.