AI Chat for Any Website

Reads your site. Answers questions. Zero API keys required.

🚫 No API keys  ·  🧠 Built-in NLP  ·  👤 Human handoff

1 · Register your website

Fill in your site details — the server will scrape it automatically

2 · Paste this into your site

Add before </body> on any page

<!-- Complete registration above to generate your embed code -->

Copy livechat-widget.js to your web server or CDN, then adjust the src path accordingly.

3 · API reference

POST /api/config               Register website + trigger scrape
GET  /api/config/{id}           Get config
POST /api/config/{id}/refresh   Re-scrape pages
POST /api/session/start         Start visitor session
POST /api/chat                  Send message → JSON reply
POST /api/transfer              Escalate to human agent (returns contact_links)
GET  /api/session/{id}          Get session + history
GET  /api/sessions              Admin: list all sessions
GET  /health                    Health + knowledge base stats

New fields in POST /api/config:
whatsapp_number — E.164 format (e.g. +2348012345678). When set, transfer responses include a pre-filled wa.me link.
contact_email — Support email. Transfer responses include a mailto: link with chat summary pre-filled.

Storage: All configs, sessions, and knowledge chunks are persisted in livechat.db (SQLite). Data survives server restarts.