List referrals (Open Endpoint)

Lists all of the referrals involving the given user. This method is the primary way of getting a list of everyone that has made a referral and everyone that has been referred, and supports pagination using the parameters for limit and offset to iterate through a very large list of records.

Note: Either the referringAccountId and referringUserId or referredAccountId and referredUserId parameters are required, along with a read token for authenticaion.

This is an Open Endpoint and disabled by default. Contact support to enable the open endpoints.

Log in to see full request history
Path Params
string
required

Tenant being referenced. E.g. "aboih12h16t" or "test_abo912126tastastt"

Query Params
string

When included, filters the results to only include referrals where this AccountId was the referring customer advocate.

string

When included, filters the results to only include referrals where this UserId was the referring customer advocate.

string

When included, filters the results to only include referrals where this AccountId was the referred friend.

string

When included, filters the results to only include referrals where this UserId was the referred friend.

string

When included, filters the results either to the exact timestamp if only one value is given, or a range if devided by a comma. I.E. 0,123412451 gives all referrals that started between 0 and 123412451.

string

When included, filters the results either to the exact timestamp if only one value is given, or a range if devided by a comma. I.E. 0,123412451 gives all referrals that converted between 0 and 123412451.

string

When included, filters the results either to the exact timestamp if only one value is given, or a range if devided by a comma. I.E. 0,123412451 gives all referrals that ended between 0 and 123412451.

string

When included, filters the result to only include friends with that status. Statuses that are accepted: PENDING, APPROVED or DENIED.

string

When included, filters the result to only include customer advocate with that status. Statuses that are accepted: PENDING, APPROVED or DENIED.

integer
Defaults to 10

A limit on the number of results returned. Defaults to 10.

integer
Defaults to 0

When included offsets the first result returns in the list. Use this to paginate through a long list of results. Defaults to 0

Responses

Language
Credentials
:
Click Try It! to start a request and see the response here! Or choose an example:
application/json