Referrals
List Referrals
Get a cursor-paginated list of all referrals with optional filtering and expansion
GET
Query Parameters
integer
default:"10"
Number of results per page. Minimum value is 1, maximum value is 100. Default is 10.
string
Cursor for pagination. Use the
id of the last item from the previous page to get the next page.string
Cursor for pagination. Use the
id of the first item from the current page to get the previous page.string
Filter referrals by affiliate ID. Only returns referrals for the specified affiliate.
string
Filter referrals by your external user ID. Useful when you store your own application user ID on the referral.
string
default:"desc"
Sort order. Valid values:
asc, desc. Defaults to desc (newest first).string
Filter referrals by status. Valid values:
lead, trialing, customer, active, canceled, rejected. Note: click status is excluded from this endpoint.string
Filter referrals created on or after this date. ISO 8601 date-time format (e.g.,
2024-01-01T00:00:00Z).string
Filter referrals created on or before this date. ISO 8601 date-time format (e.g.,
2024-12-31T23:59:59Z).string
Comma-separated list of related data to include. Valid values:
affiliate. Example: expand=affiliate.Response
The response includes a cursor-paginated list of referrals.boolean
Always
true for successful responsesarray
Array of referral objects. Each referral object has the same structure as the single referral response (see Get Referral endpoint).
boolean
Whether there are more results available
