A simple form application to test the Rechat Lead Capture API integration with all available fields.
- Complete form with all API fields (all optional)
- Configurable API key input
- Configurable lead channel ID
- Real-time API testing
- Response display
- Docker containerization support
first_name
- Contact's first namelast_name
- Contact's last nameemail
- Contact's email addressphone_number
- Contact's phone numbertag
- Custom tag for categorizationlead_source
- Source of the leadnote
- Additional notes or messagesaddress
- Property address of interestreferer_url
- Referring URLmlsid
- MLS listing IDagent_mlsid
- Agent's MLS ID
- Install dependencies:
npm install
- Run the development server:
npm run dev
- Open http://localhost:3000 in your browser
- Build the Docker image:
docker build -t rechat-lead-demo .
- Run the container:
docker run -p 3000:3000 rechat-lead-demo
- Open http://localhost:3000 in your browser
- Lead Channel: Default is
54a57918-ad9b-4adb-a35a-9232bf78d734
- API Key: Optional, can be entered in the form
- Default Values: Pre-filled with demo values for testing
The form submits to: https://api.rechat.com/leads/channels/{lead_channel}/webhook
All fields except for source_type
are optional according to the API specification. The app will only send fields that have values.
See the docs/
folder for:
openapi.yml
- Complete API specification for the Rechat Lead Capture API
For production use, contact Rechat's support team for integration guidance.
For more information about lead capture integration, visit the Rechat documentation.