theBotBazar developer docs
- Developer overview — Everything BotBazar does in the dashboard, you can do over HTTPS. Start here.
- Authentication — API keys for servers, JWTs for user sessions, and nothing at all for public endpoints.
- Quickstart — your first answer — Three requests from zero to an AI answer from your own bot.
- Errors & rate limits — What each error means and how to fix it.
- Chat API & streaming — Conversations, messages, token streaming over SSE, files, voice and feedback.
- Knowledge API — Create bots, ingest text/files/JSON, search, manage documents, Q&A pairs, GraphRAG and PageIndex.
- Website crawling — Turn a website into a bot, keep it in sync, and scrape single pages.
- Hosted bot API (websites) — The public, browser-safe API behind the website widget — no API key.
- Marketplace API — Browse, rate and chat with public Bazar bots and receptionists; creator profiles.
- WhatsApp & Discord — Connect numbers and servers, send messages, read sessions, escalate to humans.
- Voice & receptionists — Create receptionists, join a live voice call with LiveKit, and configure the pipeline.
- Agents & webhooks — Create automations and trigger them from your systems with signed webhooks.
- Super Agent API — Invoke an autonomous agent, confirm its actions, and manage memory, skills and evolution.
- MCP tools — Attach Model Context Protocol servers to a bot so it can call tools while answering.
- Wallet, payments & plans — Read the balance, buy token packs (Stripe, eSewa, Khalti), promo codes, subscriptions and usage.
- Email campaigns API — Contact lists, templates, AI drafts, sending and per-recipient reports.
- Account, keys & notifications — Profile and avatar, API key management, notifications and analytics events.