Authorizations
API key passed as a Bearer token in the Authorization header. You can find your API Key on Your FirstPromoter Dashboard. Navigate to Settings → Integrations → Manage API Keys
Headers
Account id. You can find your Account ID on Your FirstPromoter Dashboard. Navigate to Settings → Integrations
Query Parameters
Search params. Searches by email, uid, username, website
Array of referral ids to get
Filter the referrals by type (lead or customer)
lead
, customer
Filter the referrals by a promoter id
Filter the referrals by state
subscribed
, signup
, active
, cancelled
, refunded
, denied
, pending
, moved
Response
List of referrals
Id of the referral
Email address of the referral
uid of the referral
State of the referral
subscribed
, signup
, active
, cancelled
, refunded
, denied
, pending
, moved
Additional metadata of the referral
Entry source of the referral. This shows where the referral was captured from. Cookie is set if the referral was captured using the tid cookie, Coupon is for when the referral is captured via a coupon code. Manual admin is for when the referral is added manually by an admin. Manual affiliate is for when the referral is added manually by an affiliate.
api
, coupon
, cookie
, manual_admin
, manual_affiliate
Date and time when the referral was created
Date and time when the referral became a customer
Fraud check result of the referral
no_suspicion
, same_ip_suspicion
, same_promoter_email
, ad_source
Email address of the user who created the referral