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
The unique identifier of the referral you want to retrieve. This ID is returned when you create a referral or list referrals.Example:
ref_123abcRequest Example
Response
The API returns a detailed referral object: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.
URL to the profile picture, if available.
Current status:
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.
Additional metadata associated with the referral.
Response Example
Error Responses
Unauthorized - Invalid or missing API key
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
- Cache referral data - Referral information doesn’t change frequently
- Handle 404 errors - Always check if the referral exists
- Monitor status changes - Use webhooks or polling to track status updates
- 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
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Referral ID
Response
Referral details
The response is of type object.