Get available referrals
GET https://v2.firstpromoter.com/api/v2/company/referrals
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
Account id. You can find your Account ID on Your FirstPromoter Dashboard. Navigate to Settings → Integrations
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
List of referrals
The response is of type object[]
.