API Documentation
Complete REST API reference for the Botz platform. Create, manage, and interact with custom AI bots using simple HTTP requests. Perfect for building AI-powered applications with minimal setup.
🚀 Explore Demo ApplicationsAll Botz API endpoints require an auth token for an individual or team workspace. Tokens available on request to the Digital Innovation Team.
Each auth token creates a completely isolated environment:
Creates a new AI bot with custom configuration.
Returns all bots in your token-scoped namespace.
Send a message to a bot and receive a response.
Retrieve configuration and metadata for a specific bot.
Update an existing bot's configuration.
updated_at timestamp will be automatically setPermanently delete a bot and all its data.
Access a web-based chat interface for a bot.
Returns an HTML web chat interface for interacting with the bot.
| Model | Type | Best For | Relative Cost |
|---|---|---|---|
gpt-5 |
Next-Gen Premium | Most advanced reasoning and analysis | Highest |
gpt-5-mini |
Next-Gen Balanced | Advanced performance, cost-effective | Medium-High |
gpt-5-nano |
Next-Gen Lightweight | Fast next-gen responses | Medium |
gpt-4.1 |
Premium | Complex reasoning, analysis | High |
gpt-4.1-mini |
Balanced | General assistance, cost-effective | Medium |
gpt-4.1-nano |
Lightweight | Simple tasks, fastest response | Low-Medium |
gpt-4o |
Multimodal | Text + vision tasks | High |
gpt-4o-mini |
Efficient | Quick multimodal tasks | Medium |
o3 |
Reasoning | Advanced reasoning and problem-solving | Very High |
o3-mini |
Reasoning (Efficient) | Fast reasoning tasks | High |
| Code | Meaning | Description |
|---|---|---|
200 |
OK | Request successful |
201 |
Created | Bot created successfully |
400 |
Bad Request | Validation error in request |
401 |
Unauthorized | Invalid or missing auth token |
404 |
Not Found | Bot doesn't exist |
409 |
Conflict | Bot already exists (create only) |
500 |
Internal Server Error | Server error |
502 |
Bad Gateway | AI service error |
503 |
Service Unavailable | API key not configured |
my-bot, customer_support, data-analyst-v2The API uses OpenAI's Responses API for conversation continuity: