ESTAGE Support
IdeasMy tickets

People an affiliate referred, with each commission

Permission affiliates:readRate limit reads

One 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.

GEThttps://api.estage.com/v1/affiliates/{contactId}/referrals

Authorization

ESTAGE-API-Keystringheaderrequired

A project key, est_live_…, from Settings → API keys. Call from server code only.

Path parameters

contactIdintegerrequired

Query parameters

intervalstring

Rolling window ending now. all_time or no value: no time limit.

One of today, week, month, quarter, year, all_time

fromstringdate

YYYY-MM-DD; requires to. Wins over interval.

tostringdate

YYYY-MM-DD, on or after from; requires from.

offer_idinteger
pageintegerdefault 1≥ 1
per_pageintegerdefault 50≥ 1≤ 100
sortstringdefault "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

RequestcURL
curl --request GET \
  --url 'https://api.estage.com/v1/affiliates/contact-id/referrals' \
  --header 'ESTAGE-API-Key: est_live_your-api-key'
OK
{
  "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
    }
  }
}
Example. Errors are { error: { code, message, details } }.