The Chatbot Platform API provides programmatic access to all platform features, allowing you to integrate bot management, agent loops, and conversations into your applications.Documentation Index
Fetch the complete documentation index at: https://docs.chatbotplatform.io/llms.txt
Use this file to discover all available pages before exploring further.
Base URL
All API requests are made to:Authentication
API requests require authentication using an API key. Include your API key in theAuthorization header:
Getting an API Key
Keep your API key secret. Anyone with the key has full access to your team’s resources.
Making Requests
Example: List Bots
Example: Create Bot
Available Resources
Bots
Manage chatbot instances:GET /bots- List all botsPOST /bots- Create a botGET /bots/{id}- Get bot detailsPATCH /bots/{id}- Update botDELETE /bots/{id}- Delete bot
Integrations
Configure AI backend connections:GET /bots/{bot_id}/integrations- List integrationsPOST /bots/{bot_id}/integrations- Create integrationGET /integrations/{id}- Get integration detailsPATCH /integrations/{id}- Update integrationDELETE /integrations/{id}- Delete integration
Channels
Connect to messaging platforms:GET /bots/{bot_id}/channels- List channelsPOST /bots/{bot_id}/channels- Create channelGET /channels/{id}- Get channel detailsPATCH /channels/{id}- Update channelDELETE /channels/{id}- Delete channel
Conversations
Access conversation history:GET /bots/{bot_id}/conversations- List conversationsGET /conversations/{id}- Get conversation detailsGET /conversations/{id}/messages- Get messagesDELETE /conversations/{id}- Delete conversation
Agent Loops
Manage autonomous workflows:GET /agent-loops- List agent loopsPOST /agent-loops- Create agent loopGET /agent-loops/{id}- Get detailsPOST /agent-loops/{id}/run- Execute agent loopGET /agent-loops/{id}/executions- List executionsPATCH /agent-loops/{id}- Update agent loopDELETE /agent-loops/{id}- Delete agent loop
Pagination
List endpoints support pagination using query parameters:page- Page number (default: 1)per_page- Items per page (default: 20, max: 100)
Filtering
Some endpoints support filtering:Error Handling
API errors return appropriate HTTP status codes and JSON error objects:Status Codes
| Code | Meaning |
|---|---|
| 200 | Success |
| 201 | Created |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
| 422 | Validation Error |
| 429 | Rate Limit Exceeded |
| 500 | Internal Server Error |
Rate Limits
API requests are rate limited per API key:| Plan | Rate Limit |
|---|---|
| Free | 60 requests/minute |
| Pro | 300 requests/minute |
| Enterprise | 1000 requests/minute |
Webhooks
The API also sends webhooks for certain events:- Bot message received
- Integration failed
- Agent loop completed
- Channel disconnected
SDKs and Libraries
Official SDKs (coming soon):- JavaScript/TypeScript
- Python
- Go
- Ruby
Support
- Documentation: Full API reference at docs.chatbotplatform.io/api-reference
- Issues: Report bugs on GitHub
- Email: support@chatbotplatform.io
Next Steps
Authentication
Learn about API authentication
Bot Management
API endpoints for bots (coming soon)
Agent Loops API
Trigger agents programmatically (coming soon)