Operate
Contact Widget
Embeddable chat widget. Every conversation is recorded for your Support team; each visitor message gets a fixed reply pointing them to support. No automatic answers.
Features
- **Public `POST /chatbot/message` endpoint** — submission creates a `support_tickets` row + emits `ticket.created_via_widget` event. Honeypot + signed-token challenge replaces a Turnstile dependency.
- **Fixed reply** — every visitor message is recorded and answered with the same reply pointing the visitor to support. No automatic answers.
- **Per-project chatbot configs** — colours, labels, persona name, KB binding, handoff toggle + message.
- **Drop-in chat bundle (Wave 49)** — `<script src="https://go.sendoracloud.com/chat.js" data-chatbot=UUID async>` adds a floating chat button + chat panel to any page. ~6 KB, dependency-free. Talks to public `POST /widgets/:widgetId/chat` (UUID-as-key, no API key needed on a public page). Multi-turn context via server-minted `sessionId`.
- **Drop-in contact-form bundle** — `<script src="https://go.sendoracloud.com/widget.js" data-widget=UUID async>` for the email-based ticket flow. ~4 KB.
- **SDK helpers** — Web `sendora.chatbot.send()`; RN 0.18.8+ ships `chatbot.sendMessage()` with auto session id per JS lifetime. Use these when you need custom chat UI inside a native app.
Common use cases
- Contact form on a marketing site where the submission should land in your existing Support inbox, not a separate vendor.
- Chat in your own app — call the SDK from your custom UI; the backend records the conversation for your Support team.
Chatbot
Mount the widget
FREEDrop-in floating chat bubble. The widget loads the bot config lazily; cold-start <100KB.
<script src="https://api.sendoracloud.com/widgets/chatbot.js"
data-widget-id="{{WIDGET_ID}}"
async></script>Send a message programmatically
FREEBypass the widget UI and send messages from your own chat surface. Returns the bot reply + session id for follow-ups.
sendora.chatbot.init("bot_abc"); // the SDK keeps the session for you
const reply = await sendora.chatbot.sendMessage("How do I reset my password?");Create a bot
GROWTH+Define the widget's name, welcome message and handoff policy. The chat does not answer automatically — every message gets a fixed reply pointing the visitor to support, and the conversation is kept for your team.
curl -X POST https://api.sendoracloud.com/api/v1/orgs/<ORG_ID>/chatbots \
-H "x-api-key: sk_prod_…" \
-d '{
"name": "Helpdesk bot",
"welcomeMessage": "Hi! How can we help?",
"handoffEnabled": true
}'