Prospect Update Webhooks

Initial Webhook When renter is created in Funnel

POST request to Third-Party AI Solution defined webhook URL

{
    "event": “renter.created”,
    "data": {
        "funnel_renter_id": 456678,
        "funnel_community_id": 1234,
	  “status”: “prospect”,
        "people": [
            {
                "first_name": "John",
                "last_name": "Doe",
                "email": "johndoe@example.com",
                "phone_1": "510-555-4567",
                "phone_2": "",
                "sms_opt_in": true
            },
            {
                "first_name": "Jane",
                "last_name": "Doe",
                "email": "janedoe@example.com",
                "phone_1": "",
                "phone_2": "",
                "sms_opt_in": false
            }
        ],
        "lead_source": "apartments.com",
        "move_in_date": "1970-01-01",
        "created_at": "2019-01-01T04:55:55",
        "listings": [
            {
                "funnel_unit_id": 123,
                "property_address": "123 First St",
                "property_internal_id": "AAAA"
            }
        ],
        "messages": [
            {
                "message": "Hi am i interested in seeing apt 2a.",
                "received_at": "2019-01-01T04:55:55",
                "message_type": "ILS"
            }
        ]
    }
}

Webhook when prospect status changes

{
    "event": “renter.status-change”,
    "data": {
        "funnel_renter_id": 456678,
        "funnel_team_id": 1234,
	  “status”: “applicant”,
    }
}

Appointment Status Webhook

To be developed When an appointment status is updated in Funnel, we can provide that back via webhook,

{
     “event”: “appointment.updated”,
     “data”: {
         “funnel_renter_id”: 456,
         “funnel_tour_id”: 879,
         “funnel_team_id”: 123,
         “Tour_type”: “Guided”,
         “start”: “2021-08-01 15:00:00”,
         “end”: “2021-08-01 15:30:00”,
         “status”: “completed”
	}
}

Status can be completed, no-show, or cancelled.