Lead Capture API Docs
Documentation for Rechat's Lead Capture API.
In addition to the documentation for Rechat's Lead Capture API, below, you can download the OpenAPI specification here.
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
POST /leads/channels/{lead_channel}/webhook HTTP/1.1
Host: api.rechat.com
Content-Type: application/json
Accept: */*
Content-Length: 483
{
"first_name": "John",
"last_name": "Doe",
"email": "[email protected]",
"phone_number": "(555) 123-4567",
"tags": [
"website_inquiry",
"new_leads"
],
"lead_source": "real_estate_website",
"note": "This is a note!",
"address": "123 Main Street, City, State 12345",
"referer_url": "https://example.com/property/123",
"mlsid": 22425783,
"agent_mlsid": 12345678,
"source_type": "Website",
"assignees": [
{
"email": "text",
"phone_number": "text",
"first_name": "text",
"last_name": "text",
"mls": "text",
"mls_id": "text"
}
]
}{
"code": "OK",
"data": {
"id": "0e17f1d9-b9cb-4732-9185-fd80f990f693",
"contact": "2ba538ee-3f2c-4ecb-b87e-a706b5c3e73f",
"lead_channel": "55f50bdd-fc93-4737-84e4-6fa5ad97745f",
"raw_payload": {
"first_name": "Test",
"last_name": "User",
"email": "[email protected]",
"source_type": "Website"
},
"parsed_payload": {
"first_name": "Test",
"last_name": "User",
"email": "[email protected]",
"source_type": "Website"
},
"source_type": "Website",
"created_at": 1752247298.819
}
}Last updated
Was this helpful?