Browse the help center

Referral Program API endpoints

Endpoint reference for the Referral Program tag (3 endpoints): Referral program management — referred clients, revenue tracking, and earnings

Reference network manager admin

Referral program management — referred clients, revenue tracking, and earnings. 3 endpoints, generated from the OpenAPI spec. Authentication, the response envelope, pagination and error codes are shared by all endpoints — see REST API overview. Parameters marked form go in an application/x-www-form-urlencoded request body.

GET /rest-api/referral-program/list-registered.do

Request examples

List registered referred clients.

ParameterInTypeRequiredDescription
activeOnlyquerybooleannoWhen true, return only active (non-deleted) records
dirquerystringnoSort direction: ASC or DESC
labelsqueryarray<integer>noFilter by label IDs
limitqueryintegernoMaximum number of records to return per page
multisortqueryarray<object>noMulti-column sort configuration as a JSON array of objects with ‘property’ and ‘direction’ fields
namequerystringnoFilter by entity name
onlyDataquerybooleannoWhen true, return only data rows without metadata
onlyTotalquerybooleannoWhen true, return only the total count without data rows
queryquerystringnoSearch query string to filter results by name or other searchable fields
rolequeryintegernoFilter by user role ID
sortquerystringnoField name to sort results by
startqueryintegernoPagination offset (0-based index of the first record to return)
yearqueryarray<integer>noFilter by registration year
monthqueryarray<integer>noFilter by registration month (1-12)
statusqueryarray<string>noFilter by referred client status Values: UNDER_REVIEW, APPROVED, ACTIVE, INACTIVE.

Responses: 200 — Referred clients list returned successfully. Errors follow the shared conventions.

GET /rest-api/referral-program/list.do

Request examples

List referral revenue and payouts.

ParameterInTypeRequiredDescription
activeOnlyquerybooleannoWhen true, return only active (non-deleted) records
dirquerystringnoSort direction: ASC or DESC
labelsqueryarray<integer>noFilter by label IDs
limitqueryintegernoMaximum number of records to return per page
multisortqueryarray<object>noMulti-column sort configuration as a JSON array of objects with ‘property’ and ‘direction’ fields
namequerystringnoFilter by entity name
onlyDataquerybooleannoWhen true, return only data rows without metadata
onlyTotalquerybooleannoWhen true, return only the total count without data rows
queryquerystringnoSearch query string to filter results by name or other searchable fields
rolequeryintegernoFilter by user role ID
sortquerystringnoField name to sort results by
startqueryintegernoPagination offset (0-based index of the first record to return)
yearqueryarray<integer>noFilter by year
monthqueryarray<integer>noFilter by month (1-12)
statusqueryarray<string>noFilter by payment status Values: UNCONFIRMED, CONFIRMED, PAID, DECLINED.

Responses: 200 — Referral billing records returned successfully. Errors follow the shared conventions.

GET /rest-api/referral-program/total-earnings.do

Request examples

Get referral earnings summary.

ParameterInTypeRequiredDescription
activeOnlyquerybooleannoWhen true, return only active (non-deleted) records
dirquerystringnoSort direction: ASC or DESC
labelsqueryarray<integer>noFilter by label IDs
limitqueryintegernoMaximum number of records to return per page
multisortqueryarray<object>noMulti-column sort configuration as a JSON array of objects with ‘property’ and ‘direction’ fields
namequerystringnoFilter by entity name
onlyDataquerybooleannoWhen true, return only data rows without metadata
onlyTotalquerybooleannoWhen true, return only the total count without data rows
queryquerystringnoSearch query string to filter results by name or other searchable fields
rolequeryintegernoFilter by user role ID
sortquerystringnoField name to sort results by
startqueryintegernoPagination offset (0-based index of the first record to return)
yearqueryarray<integer>noFilter by year
monthqueryarray<integer>noFilter by month (1-12)
statusqueryarray<string>noFilter by payment status Values: UNCONFIRMED, CONFIRMED, PAID, DECLINED.

Responses: 200 — Earnings summary returned successfully. Errors follow the shared conventions.

Related pages

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.