Referred prospects
Use the Referrals endpoint to show the people a member referred and each referral’s status.

How to generate it
Use the following workflow for each page of referred prospects.
Fetch the member’s referrals. Filter the Referrals endpoint for the signed-in member.
Collect referee IDs. Read the
referral_to_uservalue for every referral returned.Fetch referee details in one request. Call the Users endpoint with
user_id__inset to the collected IDs.Match users to referrals. Join each User response to its referral using
referral_to_user.Render and paginate the results. Show the referee’s details with the referral status. Use the Referrals response to determine whether another page exists.
This requires two requests per results page: one to Referrals and one to Users. Do not request each referee individually.
Pagination
Paginate the Referrals endpoint first. Then batch-fetch only the referees shown on that page.
When the member opens the next page, repeat the same two requests with the next Referrals page. This avoids loading every referral and user record upfront.
Last updated
Was this helpful?

