Skip to main content
GET
Retrieve a list of all referrals (signups) from your programs. This endpoint supports filtering by program, student, and status, making it easy to track conversions and manage your referral pipeline.

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

string
Filter results to only include referrals from a specific program. Useful when analyzing performance of individual programs.Example: programId=prog_123abc
string
Filter results to only include referrals from a specific student ambassador. Use this to see all referrals generated by a particular ambassador.Example: studentId=user_123abc
string
Filter referrals by their current status. Valid values are:
  • pending - Referral created but not yet converted
  • converted - Referral has converted (made a purchase/subscription)
  • verified - Referral has been verified
  • rejected - Referral was rejected
Example: status=converted returns only converted referrals
integer
default:"50"
Maximum number of results to return per page. Default is 50, maximum is typically 100.Example: limit=25
integer
default:"0"
Number of results to skip before starting to return results. Use for pagination.Example: offset=50 skips the first 50 results

Request Example

Response

The API returns a JSON object containing an array of referral objects:
array
required
Array of referral objects, each containing information about a referral signup.
Each referral object contains:
string
required
Unique identifier for the referral.
string
required
ID of the impression (QR scan) that led to this referral.
string
required
First name of the referred person.
string
required
Last name of the referred person.
string
required
Email address of the referred person.
string
required
Current status of the referral: pending, converted, verified, or rejected.
string
required
ID of the program this referral belongs to.
string
required
ID of the student ambassador who generated this referral.
string
required
ISO 8601 timestamp of when the referral was created.
string
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

  1. Use filters wisely - Combine filters to narrow down results and reduce response size
  2. Implement pagination - Always use limit and offset for large datasets
  3. Cache frequently accessed data - Referral lists don’t change as frequently as other data
  4. Monitor status changes - Set up webhooks or polling to track status updates
  5. Handle empty results - Always check if the referrals array is empty

Error Responses

object
Unauthorized - Invalid or missing API key

Rate Limits

This endpoint is subject to rate limiting. Check response headers for rate limit information.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

programId
string

Filter by program ID

studentId
string

Filter by student (ambassador) ID

status
enum<string>

Filter by referral status

Available options:
pending,
converted,
verified,
rejected
limit
integer
default:50

Maximum number of results to return

offset
integer
default:0

Number of results to skip

Response

List of referrals

The response is of type object.