cURL
curl --request GET \ --url https://api.affonso.io/v1/referrals/{id} \ --header 'Authorization: Bearer <token>'
{ "success": true, "data": { "id": "<string>", "affiliate_id": "<string>", "program_id": "<string>", "email": "<string>", "customer_id": "<string>", "subscription_id": "<string>", "status": "lead", "name": "<string>", "metadata": {}, "created_at": "2023-11-07T05:31:56Z", "converted_at": "2023-11-07T05:31:56Z" } }
Retrieve a single referral by ID with optional expanded fields and stats.
API key authentication. Prefix with 'sk_live_' for production or 'sk_dev_' for development.
Referral ID
Expand affiliate data
"affiliate"
Include additional data
"stats"
Referral details
Show child attributes
Was this page helpful?