Lead Capture API Docs
Documentation for Rechat's Lead Capture API.
On success, you may receive:
Response
Atomic parts follow the PostGIS
stdaddrmodel.line1,line2, andfullcan be provided directly.If omitted, Rechat generates them from atomic fields.
address is an object. You can send atomic parts or full lines.
Address payload
source_type is required. Everything else is optional.
application/jsonXML (LTS format)
application/x-www-form-urlencoded
The endpoint accepts:
Request format
Get it from Lead Routing in Rechat. See Lead Routing.
You need a lead_channel ID.
Before you start
Integrate lead capture into your site using Rechatโs webhook.
200 OKwith the created lead record.204with no content.
Integrate Rechat's lead capture functionality into your website using your lead_channel id (which you can get through Rechat's Lead Routing interface).
Example JSON payload for Rechats lead capture API. All fields are optional with this exception of source_type, which must be specified.
Contact's first name (optional)
JohnContact's last name (optional)
DoeContact's phone number (optional)
(555) 123-4567An array of strings to be used as tags for categorization (optional)
["website_inquiry","new_leads"]Source of the lead (optional)
real_estate_websiteAdditional notes or messages (optional)
This is a note!Property address of interest (optional)
123 Main Street, City, State 12345Referring URL (optional)
https://example.com/property/123MLS listing ID (optional)
22425783Agent's MLS ID (optional)
12345678Required string representing the source type (Website, in this case).
WebsiteOK
Successful operation
Last updated
Was this helpful?