Affiliate

Is this referral code live? Unauthenticated, on purpose.

<br/>The marketing site calls this cross-origin to show "20 percent off<br/>unlocked" once the af_ref cookie is set. It carries the verdict and the<br/>code the caller already sent, and nothing about the affiliate behind it:<br/>no name, no status, no id. Allowlisted by endpoint name in<br/>app/__init__.py, the same way the Resend webhook is.

get/api/v1/affiliate/code/{code}/valid

Request

  • Base URL: https://api.avatarfactory.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.avatarfactory.io/api/v1/affiliate/code/{code}/valid
  • Auth: one of:
    • API key in cookie session
    • HTTP bearer

Path parameters

codestring required

Response

OK

codestring required
validboolean required

Changes

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