Lead Capture API Docs

Documentation for Rechat's Lead Capture API.

Capture leads using a known lead channel ID (webhook).

post

Integrate Rechat's lead capture functionality into your website using your lead_channel id (which you can get through Rechat's Lead Routing interface).

Path parameters
lead_channelstring ยท uuidRequired

Your lead channel ID. This serves as both the endpoint identifier and authentication key.

Example: 55f50bdd-fc93-4737-84e4-6fa5ad97745f
Body

JSON payload for Rechat's lead capture API. All fields are optional.

first_namestringOptional

Contact's first name

Example: John
last_namestringOptional

Contact's last name

Example: Doe
emailstring ยท emailOptional

Contact's email address

Example: [email protected]
phone_numberstringOptional

Contact's phone number

Example: (555) 123-4567
tagstring[]Optional

Array of tags for categorization

Example: ["Lead","Website Inquiry"]
lead_sourcestringOptional

Source of the lead

Example: Lead Capture Demo
notestringOptional

Additional notes or messages

Example: Interested in downtown properties
referer_urlstring ยท uriOptional

Referring URL

Example: https://example.com/property/123
Responses
200

OK

application/json
post
/leads/channels/{lead_channel}/webhook

Last updated

Was this helpful?