Webhooks
Events
When setting up a webhook you choose which events you want to receive payloads for. We currently have two events that you can subscribe to.
lead.created
Every time a user selects an offering from the comparison screen and submits an inquiry, a new lead is created in our system and the lead.created event is triggered. You can subscribe to this event in order to receive a payload whenever it occurs.
At the point the event is triggered the user's contact information has been collected, the e-mail address has been confirmed, but photos of the house, roof, surroundings, etc. have not been uploaded yet.
lead.updated
When the user uploads the requested photos, or when any other attribute is changed, the lead is updated in our system and the lead.updated event is triggered. The payload data structure is identical to the lead.created event.
heatpump-lead.created
Every time a user selects an offering from the heat pump comparison screen and submits an inquiry, a new lead is created in our system and the heatpump-lead.created event is triggered. You can subscribe to this event in order to receive a payload whenever it occurs.
At the point the event is triggered and the user's contact information has been collected.
heatpump-lead.updated
When any attribute is changed by the user, the lead is updated in our system and the heatpump-lead.updated event is triggered. The payload data structure is identical to the heatpump-lead.created event.