Referrals
The code an account invites other people with, and how many have signed up through it. The code is generated on first request and never chosen; a sign-up carrying it is recorded against the new account once, when that account is created.
Returns the caller's referral code, who signed up with it, and progress towards each reward.
Returns the caller's referral code, who signed up with it, and progress towards each reward. › Responses
OK
claimableUntilUntil when the caller may still enter the code of whoever invited them, or null when they may not: they already have a referrer, or the time allowed after signing up has passed.
codeThe caller's referral code. A link to share is the site address with /r/ and this code.
Those people, newest first, up to a hundred.
qualified^-?(?:0|[1-9]\d*)$ · requiredHow many of those count: their address is confirmed and a site of theirs has stayed live long enough.
qualifyAfterDays^-?(?:0|[1-9]\d*)$ · requiredHow many days an invited person's site has to stay live before they count.
What inviting people earns right now, and how far along the caller is with each.
signups^-?(?:0|[1-9]\d*)$ · requiredHow many people have signed up through the code and confirmed their address, whatever became of the referral since. Somebody who has not confirmed yet is not counted.
What somebody who signs up with the code is given right now.
Records who invited the caller, for a few days after they signed up without a code.
Records who invited the caller, for a few days after they signed up without a code. › Request Body
codeThe referral code, as typed. Case does not matter.
Records who invited the caller, for a few days after they signed up without a code. › Responses
OK
What the account is given for having been invited, once its email address is confirmed and the referral has been looked at. Empty when no reward for newcomers is running.
Returns what inviting somebody can still earn the caller. Never creates a referral code.
Returns what inviting somebody can still earn the caller. Never creates a referral code. › Responses
OK
accountIdThe account a reward for inviting would be added to: the caller's own.
Those of Rewards that one more counted referral would give the caller, in the same order: a reward paid for every referral, or a milestone the caller is one short of. Empty when the nearest reward is further off than that. It is what lets a page say "invite somebody and earn this" and have it be true — a milestone three referrals away is not what inviting one person earns.
What inviting people can still earn the caller right now. Empty when no reward for inviting is running, or the caller has already been given all of them.
What somebody who signs up with the caller's code is given right now.
Shows what signing up with a referral code gives the newcomer. Needs no session.
query Parameters
codeShows what signing up with a referral code gives the newcomer. Needs no session. › Responses
OK
What an account created with the code is given once its email address is confirmed. Empty when the code works and no reward for newcomers is running.