- FAQs — question/answer pairs you curate.
- Knowledge documents — PDFs (product guides, policies, help articles) whose text the bot uses as context.
Bot configuration and training are dashboard-owner/admin actions. The endpoints below use
a dashboard JWT. Most teams manage this in the dashboard UI; the API is here for automation.
FAQs
FAQs are the bot’s primary knowledge. Keep questions phrased the way customers actually ask.Knowledge documents (PDF)
Upload PDFs to give the bot broader context than FAQs alone. The platform extracts the text and uses it when generating replies.- Format: PDF, up to 15 MB per file.
- Manage:
GET /apps/{appId}/knowledge/documentsto list,DELETE …/{documentId}to remove.
Company context
The bot also grounds answers in your company name, website, and description (set on the app). This keeps replies on-brand and lets the bot answer basic “who are you” questions without an explicit FAQ.Tuning when the bot answers
Configure the bot per app (optionally per department):boolean
Turn the bot on or off for this app/department.
number
0–1. If the bot’s confidence is below this, it won’t answer directly.
boolean
When confidence is low, automatically hand off to a human agent.
string
Message shown to the customer when escalating.
string
Scope this config to a specific department (optional).
Handover
A bot conversation can move to a human at any time, and back:- Auto-escalation — triggered by low confidence (above).
- Agent takeover — an agent claims the conversation (
POST /support/:conversationId/handover/takeover). - Resume bot — an owner/admin hands it back (
POST /support/:conversationId/handover/bot-resume).
support event (bot_takeover / bot_released) —
see Support (SDK).
AI bot overview
What the bot does and how it fits the support flow.
Support flow
End-to-end: widget → bot → routing → agent.