List referrals

Returns a list of your referrals. The referrals are returned sorted by creation date, with the most recent referrals appearing first.

Request

Method

URL

GET

https://api.getrewardful.com/v1/referrals

Optional

Parameter

Description

affiliate_id

Show referrals for the specified affiliate.

conversion_state

Show referrals that are currently in the specified conversion state(s)arrow-up-right. Pass conversion_state[] to specify multiple conversion states.

email

Show referrals with the specified email address.

stripe_customer_id

Show referrals with the specified Stripe customer ID.

page

Paginationarrow-up-right cursor specifying which page to fetch.

limit

How many results to return per page. Default is 25, maximum is 100.

expand

Which object(s) to expandarrow-up-right in response data. See below for available objects.

updated_until

Show only referrals updated before the requested timestamp formatted as ISO 8601arrow-up-right.

Use alone or with updated_since to fetch referrals within a specified time range.

updated_since

Show only referrals updated after the requested timestamp formatted as ISO 8601arrow-up-right.

Use alone or with updated_until to fetch referrals within a specified time range.

Expandable objects

Parameter

Description

affiliate

Includes the full affiliate object as a nested object for each referral in the list.

Examples

List all referrals

List all referrals and include nested affiliate object

List referrals for a specific affiliate

List referrals with a "lead" conversion state

List referrals with a "lead" or "conversion" conversion state

List referrals updated before a specific timestamp

List referrals updated after a specific timestamp

Pagination: request page 3 with 50 results per page

Last updated

Was this helpful?