Skip to main content
GET
Retrieve detailed information about a specific referral by its unique ID. Use this endpoint to fetch complete referral details including status, associated impression, and metadata.

Overview

The Get Referral endpoint returns comprehensive information about a single referral. This is useful for:
  • Displaying referral details in dashboards
  • Checking referral status before processing payments
  • Viewing referral information for customer support
  • Building referral detail pages

Authentication

This endpoint requires authentication using a Bearer token in the Authorization header:

Path Parameters

string
required
The unique identifier of the referral you want to retrieve. This ID is returned when you create a referral or list referrals.Example: ref_123abc

Request Example

Response

The API returns a detailed referral object:
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
URL to the profile picture, if available.
string
required
Current status: 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.
object
Additional metadata associated with the referral.

Response Example

Error Responses

object
Unauthorized - Invalid or missing API key
object
Not Found - The referral with the specified ID does not exist

Use Cases

Checking Referral Status

Before processing a payment or commission, verify the referral status:

Building Referral Detail View

Display complete referral information:

Best Practices

  1. Cache referral data - Referral information doesn’t change frequently
  2. Handle 404 errors - Always check if the referral exists
  3. Monitor status changes - Use webhooks or polling to track status updates
  4. Validate referral IDs - Ensure the ID format is correct before making requests

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.

Path Parameters

id
string
required

Referral ID

Response

Referral details

The response is of type object.