Lead Capture API Docs
Documentation for Rechat's Lead Capture API.
Your lead channel ID. This serves as both the endpoint identifier and authentication key.
55f50bdd-fc93-4737-84e4-6fa5ad97745fJSON payload for Rechat's lead capture API. All fields are optional.
Contact's first name
JohnContact's last name
DoeContact's email address
john.doe@example.comContact's phone number
(555) 123-4567Array of tags for categorization
["Lead","Website Inquiry"]Source of the lead
Lead Capture DemoAdditional notes or messages
Interested in downtown propertiesReferring URL
https://example.com/property/123OK
OKSuccessful operation (no content returned)
POST /leads/channels/{lead_channel}/webhook HTTP/1.1
Host: api.rechat.com
Content-Type: application/json
Accept: */*
Content-Length: 858
{
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@example.com",
"phone_number": "(555) 123-4567",
"tag": [
"Lead",
"Website Inquiry"
],
"lead_source": "Lead Capture Demo",
"note": "Interested in downtown properties",
"listing": {
"price": 750000,
"mls_number": "5039447",
"cover_image_url": "https://example.com/images/property.jpg",
"property": {
"address": {
"street_number": "123",
"street_dir_prefix": "N",
"street_name": "Main",
"street_suffix": "St",
"street_dir_suffix": "NE",
"unit_number": "#5",
"city": "San Francisco",
"state_code": "CA",
"postal_code": "94102",
"country": "United States",
"direction": "North",
"street_address": "123 N Main St NE",
"full_address": "123 N Main St NE"
}
}
},
"referer_url": "https://example.com/property/123",
"assignees": [
{
"email": "agent@example.com",
"phone_number": "(555) 987-6543",
"first_name": "Jane",
"last_name": "Smith",
"mls": "NTREIS",
"mls_id": "12345678"
}
]
}{
"code": "OK",
"data": {
"id": "0e17f1d9-b9cb-4732-9185-fd80f990f693",
"contact": "2ba538ee-3f2c-4ecb-b87e-a706b5c3e73f",
"lead_channel": "55f50bdd-fc93-4737-84e4-6fa5ad97745f",
"raw_payload": {},
"parsed_payload": {},
"created_at": 1752247298.819
}
}The UUID of the lead/contact
0e17f1d9-b9cb-4732-9185-fd80f990f693Payload for posting activities to a contact's timeline. Different activity types require different fields.
The type of activity being reported
ContactViewedListingPossible values: Optional notes about the activity
User showed strong interest in this propertyActivity posted successfully
trueBad request - invalid activity type or missing required fields
Lead not found
POST /leads/{lead_id}/timeline HTTP/1.1
Host: api.rechat.com
Content-Type: application/json
Accept: */*
Content-Length: 586
{
"action": "ContactViewedListing",
"listing": {
"url": "https://example.com/listing/123",
"mls_number": "5039447",
"mls": "nneren",
"cover_image_url": "https://example.com/images/property.jpg",
"price": 4750000,
"property": {
"address": {
"street_address": "25 Oakledge Drive"
}
}
},
"search": {
"url": "https://example.com/search/123",
"title": "Downtown 3BR Condos",
"minimum_bedrooms": 3,
"maximum_bedrooms": 4,
"minimum_bathrooms": 2,
"maximum_bathrooms": 3,
"minimum_price": 500000,
"maximum_price": 1000000,
"property_types": [
"Condominium",
"Townhouse"
],
"pool": true
},
"notes": "User showed strong interest in this property"
}{
"success": true
}The UUID of the lead/contact to reassign
0e17f1d9-b9cb-4732-9185-fd80f990f693Agent or team member assigned to the lead
Assignee's email address
agent@example.comAssignee's phone number
(555) 987-6543Assignee's first name
JaneAssignee's last name
SmithMLS board name
NTREISAssignee's MLS ID
12345678Lead reassigned successfully
trueLead reassigned successfullyBad request - invalid assignee data or missing required fields
Lead not found
PUT /leads/{lead_id}/assignees HTTP/1.1
Host: api.rechat.com
Content-Type: application/json
Accept: */*
Content-Length: 138
[
{
"email": "agent@example.com",
"phone_number": "(555) 987-6543",
"first_name": "Jane",
"last_name": "Smith",
"mls": "NTREIS",
"mls_id": "12345678"
}
]{
"success": true,
"message": "Lead reassigned successfully"
}Last updated
Was this helpful?