AI Chatbot API: How to Integrate Kodda with Your Existing Stack
By Kodda Team
Kodda's REST API lets you integrate AI chat capabilities into any application — from custom web apps to mobile apps, Slack bots, and internal tools. Here's how to get started.
API Authentication
Generate an API key in your Kodda dashboard. Include it in the X-Api-Key header for all API requests. Keys are hashed server-side for security.
Key API Endpoints
Chat Endpoint
Send a message to your bot and receive an AI-generated response grounded in your knowledge base. Supports streaming responses for real-time display.
Conversation Management
Create, list, and retrieve conversations. Each conversation maintains context across multiple messages.
Knowledge Base Management
Upload documents, check processing status, and manage libraries programmatically.
Common Integration Patterns
- Custom web app chat — Build a fully custom chat UI that calls the Kodda API
- Slack/Discord bot — Bridge the Kodda API to messaging platforms
- Internal tool integration — Add AI-powered search to internal dashboards and tools
- Mobile app support — Provide in-app AI assistance for your mobile users
Rate Limits and Quotas
API usage counts toward your plan's monthly chat quota. Monitor your usage in the dashboard and set up alerts before hitting limits.
Get Your API Key
Start integrating AI chat into your stack. Sign up for Kodda, generate an API key, and start building.
Questions? Reach out at support@kodda.dev