Prospect data must be nested under the client
key in the json body.
/api/v2/clients/<client_id>
Edit a limited number of fields on a specified company prospect.
status
lead
, toured
, applicant
, resident
, and not-a-prospect
application
applicant
or resident
status. If not setting to one of those statuses, leave this key out of the payload.unit_id
lease_start_date
YYYY-MM-DD
formatted date that the prospect’s lease starts.lease_end_date
YYYY-MM-DD
formatted date that the prospect’s lease expires.application_submitted_date
YYYY-MM-DD
formatted date that the prospect’s application was submittedapplication_price
closed_date
YYYY-MM-DD
formatted date that the prospect was closed.Example request body for status change:
{
"status": "toured"
}
Example request body for status change to applicant:
{
"status": "applicant"
"application": {
"unit_id": 123,
"lease_start_date": "2020-06-01",
"lease_end_date": "2020-05-31",
"application_submitted_date": "2020-05-20",
"application_price": "1200.00"
}
}
/api/v2/clients
Create a prospect record in Funnel. Note that in order for Funnel to properly ingest prospects and associate them with teams and properties, the following fields are required: first_name, last_name, email, group.
people
first_name
last_name
email
phone_1
phone_2
is_primary
move_in_date
layout
loft
, studio
, 1br
, 2br
, 3br
, 4+br
price_floor
price_ceiling
notes
group
broker_company
broker_email
broker_first_name
broker_last_name
broker_phone
client_referral
campaign_id
campaign_info
community
building
unit
NOTE: You should only pass one of three community
/building
/unit
, otherwise you will get a validation error.
discovery_source
lead_source
device
phone
, tablet
, desktop
, other
, or blank if unknownsource_type
paid
, organic
, or blank if unknownsms_opted_in
'marketing-enabled'
: This prospect has opted into receiving all communication including automated marketing messages'marketing-disabled'
: This prospect has opted into receiving communications, but not opted into receiving automated marketing messages. This is the default setting.'all-sms-disabled'
: This will disable the prospect from receiving any SMS communications. This setting can be updated via the Funnel app. Use this if you want to temporarily disable SMS communication with the prospectclient-opted-out'
: The prospect has explicitly opted out of communication. This setting cannot be updated unless the prospect submits their information again. Use this if you want to permamently disable all SMS communication with the prospect.request_sms
sms_opted_in
)Example request body:
{
"client": {
"people": [{
"first_name": "John",
"last_name": "Doe",
"email": "johndoe@example.com",
"phone_1": "5101234567",
"phone_2": "",
"is_primary": true
},
{
"first_name": "Jane",
"last_name": "Doe",
"email": "janedoe@example.com",
"phone_1": "",
"phone_2": "",
"is_primary": false
}
],
"move_in_date": "1970-01-01",
"layout": ["studio", "1br"],
"price_floor": 1500,
"price_ceiling": 2500,
"notes": "looking for affordable neighborhood with bars and restaurants",
"group": 12,
"broker_company": "Jerry Company",
"broker_email": "jerry@seinfeld.com",
"broker_first_name": "Jerry",
"broker_last_name": "Seinfeld",
"broker_phone": "4101230987",
"client_referral": "Company Website",
"campaign_id": "Test-Campaign",
"campaign_info": "GooglePPC",
"unit": 5309,
"device": "phone",
"source_type": "organic"
}
}