This guide provides information on how to use Storable CRM's Lead Notification API on your website to instantly create leads in Storable CRM.
We have created a Lead notification API, which can be used to notify us to create new Leads in Storable CRM by Reservation ID from integrated locations. The Reservation ID will translate to an ID for respective integrations.
SiteLink: waiting_id
SSM Next Gen/Hummingbird: reservation_id
This is the endpoint that you can use to push to the Lead notify API.
EndPoint: https://api.callpotential.com/v1/notify/lead
After the Lead is created via your PMS' (SiteLink/SSM Next Gen/Hummingbird/etc.) Lead creation method, use the call to do the same for Storable CRM, now with the known reservation_ID. An example of what this looks like is listed below.
Sample Curl Request:
Linux PuTTY: curl -XPOST https://api.callpotential.com/v1/notify/lead -d "location_id=335&reservation_id=110"
Windows Powershell: curl.exe -X POST https://api.callpotential.com/v1/notify/lead -d "location_id=335&reservation_id=110"
JSON Response:
{"error":true,"message":"Unable to fetch reservation from Sitelink."}