Integrate your AI bots programmatically with our powerful REST API. Build custom applications, automate workflows, and scale your chatbot deployment with enterprise-grade reliability.
Enterprise-grade security with API key authentication and rate limiting
Sub-second response times with global CDN and edge computing
99.9% uptime SLA with automatic scaling and load balancing
Manage your bots and their configurations
/api/botsList all bots in your organization
curl -X GET "https://api.aichatforbusiness.com/functions/v1/api-bots" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"Send messages and manage conversations
/api-conversationsSend a message and get AI response
curl -X POST "https://api.aichatforbusiness.com/functions/v1/api-conversations" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"bot_id": "YOUR_BOT_ID",
"message": "Hello, I need help with my account",
"conversation_id": "OPTIONAL_EXISTING_CONVERSATION_ID"
}'Response:
{
"conversation_id": "uuid",
"response": "Hello! I'd be happy to help...",
"tokens_used": 150,
"timestamp": "2025-12-10T..."
}/api-conversations?id=xxxGet conversation history
curl -X GET "https://api.aichatforbusiness.com/functions/v1/api-conversations?id=CONVERSATION_ID" \
-H "Authorization: Bearer YOUR_API_KEY"Response:
{
"id": "uuid",
"bot_name": "Customer Support Bot",
"transcript": [...],
"user_message_count": 5,
"bot_message_count": 5,
"timestamp": "2025-12-10T...",
"satisfaction_rating": 4
}Get insights and performance metrics
/api/analytics/usageGet usage statistics
curl -X GET "https://api.aichatforbusiness.com/functions/v1/analytics-tracking?period=7d" \
-H "Authorization: Bearer YOUR_API_KEY"Get support and join our developer community