Developer overview
BotBazar is a REST + JSON API. Every button in the dashboard calls it, so anything a user can do, your code can do too.
| Setting | Value | |---|---| | Base URL | https://ai.thimitech.com/api (also served from https://thebotbazar.com/api) | | Format | JSON in, JSON out. Streaming endpoints use Server-Sent Events. | | Auth | X-API-Key: tt… for servers, or a user JWT (Authorization: Bearer …) — see [Authentication](/dev-docs/authentication) | | Trailing slash | Required. /api/knowledge-bases/, not /api/knowledge-bases | | OpenAPI | [/api/schema/](https://ai.thimitech.com/api/schema/) — the [API reference](/dev-docs/reference) is generated from it live |
Pick your track
Your website — show a bot on a site. Use the public hosted-bot API: no key, safe in the browser, locked to your allowed domains. → [Hosted bot API](/dev-docs/hosted-bot-api)
Your server — drive bots from a backend, ingest knowledge, automate. Use an API key from your server only. → [Quickstart](/dev-docs/quickstart)
Try it right here
Every guide has live Try it consoles that call the real API. Log in to BotBazar in this browser and they use your session automatically, or paste an API key. This one needs no auth at all:
What's in the API
| Area | Guide | Reference tags | |---|---|---| | Chat & streaming | [Chat API](/dev-docs/chat-api) | chat, conversation, message | | Bots & knowledge | [Knowledge API](/dev-docs/knowledge-api) | knowledge-bases, documents, chunks, qa-pairs | | Website crawling | [Website crawling](/dev-docs/website-crawl) | scraper, website-kb, scrape-jobs | | Embed on websites | [Hosted bot API](/dev-docs/hosted-bot-api) | hosted, hosted-bots | | Marketplace | [Marketplace API](/dev-docs/marketplace-api) | marketplace, creators | | WhatsApp & Discord | [Messaging channels](/dev-docs/channels-api) | whatsapp, discord | | Voice | [Voice & receptionists](/dev-docs/voice-api) | receptionists, livekit, voice | | Automation | [Agents & webhooks](/dev-docs/agents-webhooks), [Super Agent](/dev-docs/super-agent-api) | agents, super-agent | | Tools | [MCP](/dev-docs/mcp-api) | mcp-servers | | Money | [Wallet & payments](/dev-docs/wallet-payments) | tt-wallet, payment, subscription, usage | | Email | [Email campaigns API](/dev-docs/email-api) | email | | Account | [Account & notifications](/dev-docs/account-api) | profile, notifications, system-api-keys |