People an affiliate referred, with each commission
affiliates:readRate limit readsOne row per commission the affiliate earned from a referred person (product and plan of the sale, status such as sale or refunded), across the project's programs. With a window (interval or from/to) meta also carries total_commissions (sales only, in currency) and total_commissions_by_currency; without one, every commission is listed and those keys are absent.
Authorization
ESTAGE-API-KeystringheaderrequiredA project key, est_live_…, from Settings → API keys. Call from server code only.
Path parameters
contactIdintegerrequiredQuery parameters
intervalstringRolling window ending now. all_time or no value: no time limit.
One of today, week, month, quarter, year, all_time
fromstringdateYYYY-MM-DD; requires to. Wins over interval.
tostringdateYYYY-MM-DD, on or after from; requires from.
offer_idintegerpageintegerdefault 1≥ 1per_pageintegerdefault 50≥ 1≤ 100sortstringdefault "created_at"name, type (status), program (product name), commissions; anything else orders by date.
One of created_at, name, type, program, commissions
directionstringdefault "desc"One of asc, desc
curl --request GET \ --url 'https://api.estage.com/v1/affiliates/contact-id/referrals' \ --header 'ESTAGE-API-Key: est_live_your-api-key'
{
"data": [
{
"contact_id": 5120,
"name": "Ben Ortiz",
"email": "ben@example.com",
"status": "sale",
"product": "Online course",
"plan": "One-time",
"commission": "30.00",
"created_at": "2026-11-12T14:03:00Z"
}
],
"meta": {
"page": 1,
"per_page": 50,
"total": 1,
"last_page": 1,
"total_commissions": 30,
"currency": "USD",
"total_commissions_by_currency": {
"USD": 30
}
}
}{ error: { code, message, details } }.