Build channel bots with real webhook and provider workflows
AI chatbot docs should explain how developers create a bot, connect a model provider, test behavior, and route messages through supported channels like WhatsApp, SMS, or contact-center surfaces.
Docs mode
Reference and guide
Keep the task clear, the example nearby, and the next step obvious.
Bot lifecycle
Document the workflow, not just the endpoint list
Developers should see how chatbots fit into the rest of the platform: inbound message, model or rule evaluation, response generation, webhook logging, and escalation when automation is not enough.
Core APIs
Recommended bot setup path
Create the bot and define the channel or use case.
Connect the bot to a webhook, queue, or supported channel surface.
Configure the AI provider, prompt policy, or bot behavior rules.
Test the bot before moving into live traffic.
Example flow
Bot request and provider handoff
POST /api/v1/ai-chatbots/bots
{
"name": "Support Assistant",
"channel": "whatsapp",
"provider": "openai",
"model": "gpt-4.1-mini",
"webhookUrl": "https://example.com/webhooks/bot"
}