GET/api/v2/users/{userId}/referrals/summary

Returns invite, level progress, referral counts, commission totals, and payout mode.

Authentication

Send your API key in the x-api-key header on every request.

Parameters

Request parameters
FieldTypeRequiredDescription
userId (path)integer (int32)Yes
programId (query)string (uuid)No

Responses

200 — OK

Response 200 fields
FieldTypeRequiredDescription
EnabledbooleanYes
ProviderstringYes
ReferralCodestringYes
ReferralPathstringYes
InviteOfferobjectYes
CurrentLevelobjectYes
NextLevelobjectYes
Levelsarray of ReferralLevelResponseYes
ProgressReferralMetricProgressResponseYesProgress towards the next visible level. Basis/CurrentValue/NextThreshold/Remaining are the legacy single-metric view (qualified referrals); the per-condition fields are null when the next level does not set that condition and 0 when it is already met.
ReferralsReferralCountsResponseYes
RewardsReferralRewardTotalsResponseYesReward totals for the current user, by delivery stage.
OfferobjectYes
TermsobjectYes
DeliveryModestringYes
MinimumCreditAmountunknownYes
AccumulatedTowardsCreditunknownYes
ProgramIdstring (uuid)No
ProgramNamestringNo
CanInvitebooleanNo
AssignedLevelbooleanNo
ProgramDescriptionstringNo
ParticipationEligibilityobjectNo

Example request

curl -X GET "https://{base_url}/api/v2/users/{userId}/referrals/summary" \
  -H "x-api-key: YOUR_API_KEY"

This page is generated from the live OpenAPI specification and always matches the current API.