Leads
Leads Webhook
A notification via webhook is sent whenever a new lead is received, provided the CRM subscribes to this functionality. To receive these notifications, the CRM must provide a designated endpoint where the webhook can be directed.
When a new lead is captured, the system triggers a webhook notification. This notification is then sent to the specified endpoint, allowing the CRM to process and respond to the lead in real-time. By subscribing to this feature and supplying the necessary endpoint, the CRM ensures it is updated with the latest lead information, enabling prompt and effective lead management.
Method POST
POST
Headers
token
string
Token supplied by CasaYes to the CRM for identifying requests sent to the CRM API.
Body application/json WebhookEndpoint
WebhookEndpoint
EntityType
string
['Listing', 'Office', 'BusinessForm', 'User', 'EvaluationForm']
EntityPublicId
string
Entity CasaYes publicId.
EntityReference
string
Entity external reference.
LeadReference
string
Lead publicId.
Source
string
'CasaYes'
CreatedDate
datetime
Lead created date.
Message
string
Lead message.
SenderName
string
Sender name.
SenderEmail
string
Sender email.
SenderPhone
string
Sender phone.
NumberResidents
integer
Projected residents for the apartment .
HasPets
bool
Has
EstimatedDateToMove
string
['Soon', 'Flexible', 'ExactDate']
MonthlyIncome
integer
Monthly income .
PresentationLetter
string
Presentation letter .
Requests
Example
Last updated