POST /referrer
Referrer Endpoints
POST /referrer
Get or create a referrer and fetch their progress
POST
POST /referrer
Get or Create Referrer
This unified endpoint performs two actions:- Get or Create: Checks if a referrer exists for the given
uid. If not, creates a new one. - Fetch Progress: Returns the referrer’s current stats, rewards earned, and progress toward the next reward.
Request
Unique identifier for the user in your app (e.g., user ID, RevenueCat app_user_id)
Optional metadata about the referrer (e.g., display name, avatar URL). Only used when creating a new referrer.
Example Request
Response
Unique identifier for the referrer
Full URL to the referral landing page
Unique slug for the referrer (part of the URL)
The metacode that referees will enter in the app (same as referrer_slug)
Referrer status:
active, paused, or endedGeneral statistics
Platform-specific progress details

