Everything you need to go live.
From a one-line embed to full webhook setups. Get OyeChats running in minutes, not days.
Quick start
Four steps from signup to a working chat widget. The whole flow takes about five minutes.
Add the chat widget
Paste the script tag before the closing </body> tag on any HTML page.
<!-- OyeChats Widget --> <script src="https://cdn.oyechats.com/oyechats-widget.js" data-bot-key="YOUR_BOT_KEY" defer ></script>
Configuration attributes
The script tag only needs data-bot-key. Everything else, launcher position, colors, auto-open, and branding removal (Standard and above), is configured per bot in your dashboard.
| Attribute | Type | Required | Description |
|---|---|---|---|
data-bot-key | string | Required | Your unique bot key from the dashboard (Settings, Widget). |
Receive real-time events
Configure a webhook URL in your dashboard and OyeChats will POST a signed JSON payload to your endpoint whenever these events occur.
tier_transitionFires when a visitor crosses a qualification tier, e.g. becomes a hot lead.
lead_capturedFires when a visitor submits name and email via the lead form.
handoff_requestedFires when the visitor asks to speak with a human operator.
meeting_bookedFires when a visitor books a meeting via Calendly or Zcal.
chat_closedFires when a chat session is closed.
Example payload for tier_transition
{
"event": "tier_transition",
"bot_id": 42,
"timestamp": "2026-04-11T14:23:05Z",
"data": {
"session_id": "conv_8f3a2b1c",
"lead": {
"name": "Sarah Chen",
"email": "sarah@acme.com"
},
"bant": {
"budget": 82,
"authority": 91,
"need": 74,
"timeline": 68,
"composite": 79,
"tier": "hot"
}
}
}X-OyeChats-Signature header (HMAC-SHA256). Verify it in your handler before processing.Endpoints
Base URL: https://api.oyechats.com
Authenticate with your API key in the X-API-Key: <key> header.
| Method | Endpoint | Description |
|---|---|---|
| GET | /bots | List all bots for your account. |
| GET | /leads | List captured leads with BANT scores. |
| GET | /leads/export | Export captured leads as CSV. |
| POST | /ingest | Upload a document (PDF, DOCX, TXT) to the knowledge base. |
| DELETE | /documents/{name} | Remove a document and its embeddings. |
| GET | /analytics/dashboard | Get conversation and lead metrics for a date range. |
