Listing
Listing Webhook
A notification via webhook is sent whenever a property is created, updated, or removed, provided the CRM subscribes to this functionality. To receive these notifications, the CRM must supply a designated endpoint where the webhook can be directed.
When an event such as the creation, update, or deletion of a property occurs, the system triggers a webhook notification. This notification is then sent to the specified endpoint, allowing the CRM to process and respond to the event in real-time. By subscribing to this feature and providing the necessary endpoint, the CRM ensures that it remains synchronized with the latest property data, facilitating efficient and up-to-date property 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
ListingReference
string
Listing external reference.
ListingPublicId
string
Listing CasaYes publicId.
EventType
string
[ 'LISTING_CREATED', 'LISTING_UPDATED', 'LISTING_DELETED', 'LISTING_FAILED_TO_CREATE', 'LISTING_FAILED_TO_UPDATE', 'LISTING_FAILED_TO_DELETE' ]
Success
boolean
If operation ended with success.
ErrorMessages
string []
Errors that occur during the process.
OfficeIntegrationSecret
string
Office integration secret.
Status
string
[ 'Published', 'Unpublished', 'UnpublishedByAdmin' ]
Requests
Example
Last updated