GET /v1/referrals/invitees — List referred users
https://api.triport.io/v1/referrals/invitees?limit=50&offset=0Returns the users who signed up under your referral code, with how much each has paid.
Lists the accounts that registered through your referral code. This is a read-side, console-only endpoint backing the Invitees table in the referral dashboard — use it to see who you've referred and how much revenue each of them has driven.
Each row identifies one invitee by their account user_id, their public
display_name, the time they signed up under your code (signed_at), and the
lifetime amount they have paid in micro-units (total_paid_micro). For privacy,
no email or other PII is returned — only the public display name.
Results are returned newest-relevant first and are paginated with limit and
offset. There is no total-count field; request successive pages until you
receive fewer than limit rows.
Parameters
Query parameters
limitintegeroptional1–200. Defaults to 50. Values outside the range are ignored and the default is used.offsetintegeroptional>= 0. Defaults to 0.Response
When you have no invitees, items is an empty array ({"items": []}), never
null.
itemsarrayitems[].user_idstring (UUID)items[].display_namestringitems[].signed_atstring (RFC 3339 timestamp)items[].total_paid_microintegerErrors
| Code | Meaning | When it happens |
|---|---|---|
401 | unauthenticated | No valid console session cookie was presented. |
500 | internal | An unexpected server-side error occurred while loading invitees. |
Errors use the shared error envelope { "error": "<tag>" }. See
errors.md for the full envelope and handling guidance.
Examples
JavaScript (fetch)
const res = await fetch(
"https://api.triport.io/v1/referrals/invitees?limit=50&offset=0",
{
credentials: "include",
headers: { "Content-Type": "application/json" },
}
);
if (!res.ok) throw new Error((await res.json()).error ?? `HTTP ${res.status}`);
const { items } = await res.json();
console.log(`${items.length} invitees`);TypeScript SDK (@triport/sdk)
import { TriportClient } from "@triport/sdk";
const client = new TriportClient(); // uses the active console session
const { items } = await client.referrals.listInvitees({ limit: 50, offset: 0 });
for (const row of items) {
console.log(row.display_name, row.total_paid_micro);
}Python (triport-sdk)
from triport import TriportClient
client = TriportClient() # uses the active console session
result = client.referrals.list_invitees(limit=50, offset=0)
for row in result["items"]:
print(row["display_name"], row["total_paid_micro"])Notes
- Pagination: there is no total count. Keep increasing
offsetbylimituntil a page returns fewer thanlimitrows. - Micro-units: divide
total_paid_microby 1,000,000 to display a human-readable amount. - No PII: email and other personal data are intentionally excluded; only
display_nameis exposed. - Related endpoints:
GET /v1/referrals/mefor your referral overview and balance, andGET /v1/referrals/rewardsfor the per-payment reward ledger.