Leads
Show leads and customers details
Show the lead/customer details from FirstPromoter using the API. You can find the referral either by id
, uid
or email
HTTP Request
GET https://firstpromoter.com/api/v1/leads/show
GET
/
show
Authorizations
X-API-KEY
string
headerrequiredQuery Parameters
id
string
required if email or uid is null
ID of the lead or customer to show
uid
string
required if email or id is null
UID of the lead or customer to show
email
string
required if id and uid is null
Email of the lead or customer to show
Response
200 - application/json
id
integer
The lead's ID inside FirstPromoter
status
enum<string>
The lead's or customer's status
Available options:
signup
, active
, subscribed
, denied
, cancelled
uid
any
Your lead/customer's user ID inside your application.
email
string
The lead's or customer's email
customer_since
string
ISO date string at which the lead converted to a customer.
cancelled_at
string
ISO date string at which the lead/customer cancelled
plan_name
string
suspicion
string
username
string
website
string
created_at
string
ISO date string at which the lead/customer signed up
split_promotion_id
any
custom_fields
any
split_percentage_value
any
visitor_sub_id
any
promotion
object
promoter
object