API Integration
Use the AI support API directly when the customer does not use the default frontend.
Current API Key
Generating a new key replaces the previous key. Only do this when connecting or rotating access.
Click Generate API Key
POST /api/chat
Authorization: Bearer ak_client_xxx
{
"channel": "custom_app",
"userId": "u_123",
"message": "Do you support Telegram bot?"
}
{
"answer": "Yes, Telegram Bot is supported...",
"confidence": 0.86,
"handoffRequired": false,
"sources": ["channels.md"]
}
conversation.createdNew conversation
handoff.requestedHuman handoff requested
knowledge.gap_detectedKnowledge gap detected