Skip to main content
New to Corsair? See API access, authentication, and error handling.

Members

create

members.create Add an advocate to a program with their name, email and an optional referral code Risk: write
Input A refusal (a duplicate email) answers 400 and throws ReferralrockAPIError with the reason in detail. Output

list

members.list List advocates with program, search, disabled and date filters, plus offset paging Risk: read
Input The sort values are case-sensitive; the API silently ignores an unrecognised one. Output

Programs

list

programs.list List the referral programs on the account, optionally narrowed to one program id Risk: read
Input A program id, name or title narrows the result to one program. Output

Referrals

create

referrals.create Record a referral against the code of the member who introduced it, with the order amount that reward rules key on Risk: write
Input The code is the referring member’s, and amount is what reward rules key on. Output

list

referrals.list List referrals with program, member, status and date filters, plus offset paging Risk: read
Input Output

Rewards

create

rewards.create Create a pending reward for a member or for a referred person, with its amount and payout Risk: write
Input Sent as an array of reward infos, each naming its member and optional referral. Output

list

rewards.list List rewards with program, member, status and date filters, plus offset paging Risk: read
Input Output