Overview
The List Referrals endpoint returns a paginated list of all referrals created through your ambassador programs. Use this endpoint to:- Track all signups from referral links
- Filter referrals by program or ambassador
- Monitor referral status (pending, converted, verified, rejected)
- Build analytics dashboards
- Export referral data for reporting
Authentication
This endpoint requires authentication using a Bearer token in the Authorization header:Query Parameters
Filter results to only include referrals from a specific program. Useful when analyzing performance of individual programs.Example:
programId=prog_123abcFilter results to only include referrals from a specific student ambassador. Use this to see all referrals generated by a particular ambassador.Example:
studentId=user_123abcFilter referrals by their current status. Valid values are:
pending- Referral created but not yet convertedconverted- Referral has converted (made a purchase/subscription)verified- Referral has been verifiedrejected- Referral was rejected
status=converted returns only converted referralsMaximum number of results to return per page. Default is 50, maximum is typically 100.Example:
limit=25Number of results to skip before starting to return results. Use for pagination.Example:
offset=50 skips the first 50 resultsRequest Example
Response
The API returns a JSON object containing an array of referral objects:Array of referral objects, each containing information about a referral signup.
Unique identifier for the referral.
ID of the impression (QR scan) that led to this referral.
First name of the referred person.
Last name of the referred person.
Email address of the referred person.
Current status of the referral:
pending, converted, verified, or rejected.ID of the program this referral belongs to.
ID of the student ambassador who generated this referral.
ISO 8601 timestamp of when the referral was created.
ISO 8601 timestamp of when the referral was verified, if applicable.
Response Example
Use Cases
Building a Referral Dashboard
Fetch all referrals and display them in a dashboard with filtering:Tracking Conversion Rates
Calculate conversion rates by status:Exporting Referral Data
Fetch all referrals for export:Best Practices
- Use filters wisely - Combine filters to narrow down results and reduce response size
- Implement pagination - Always use
limitandoffsetfor large datasets - Cache frequently accessed data - Referral lists don’t change as frequently as other data
- Monitor status changes - Set up webhooks or polling to track status updates
- Handle empty results - Always check if the referrals array is empty
Error Responses
Unauthorized - Invalid or missing API key
Rate Limits
This endpoint is subject to rate limiting. Check response headers for rate limit information.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Filter by program ID
Filter by student (ambassador) ID
Filter by referral status
Available options:
pending, converted, verified, rejected Maximum number of results to return
Number of results to skip
Response
List of referrals
The response is of type object.