Welcome to the BoldTech developer documentation. Here you'll find comprehensive guides and documentation to help you start working with BoldTech as quickly as possible, as well as support if you get stuck.
You can integrate your AI agents directly into your frontend using our pre-built Javascript widgets, or you can build custom backends by communicating directly with our REST API over HTTP.
All API requests require authentication. You must include your Agent API Key in the headers of every request.
You can find your API keys in the dashboard under your Agent's Settings page.
Security Note: Do not share your API keys in publicly accessible areas such as GitHub, client-side code, etc.
Your rate limits and the underlying AI models are determined by your current billing plan. When you run out of tokens, the API will return a 429 error and the Chatbot widgets will notify users to contact the owner.
| Plan | Model | Tokens / Month |
|---|---|---|
| Free | LLaMA 3 8B (8k context) | 50,000 |
| Pro | Mixtral 8x7B (32k context) | 500,000 |
| Premium | LLaMA 3 70B (8k context) | 2,000,000 (Unlimited Trial) |
The easiest way to integrate an agent is to drop our widget script into your website. It automatically inherits the Welcome Message, Theme Color, and Name from your agent's dashboard.
Places a standard chat bubble in the bottom right corner of your webpage.
Simply replace YOUR_AGENT_UUID with your agent's UUID and paste this script right before your closing </body> tag.
If you want to dedicate a specific part of a page to the chatbot, use the fullscreen mode inside a sized container.
Easily embed your BoldTech AI agent into any WordPress site using our official plugin. The plugin is pre-configured with your agent's UUID when downloaded from the dashboard.
Navigate to your Agent Details page in the dashboard and click Download WordPress Plugin. A ZIP file containing the plugin with your agent's UUID pre-filled will be generated.
After activation, go to Settings → BoldTech AI in your WordPress admin.
| Field | Description |
|---|---|
Agent ID | Your agent's UUID (pre-filled if downloaded from the dashboard). |
Platform URL | Your BoldTech platform URL (pre-filled). |
Display Mode | Choose Floating Bubble (appears on all pages) or Shortcode (place manually). |
Enable | Toggle the widget on or off site-wide. |
Floating Bubble mode — The chat bubble appears on all pages automatically when enabled.
Shortcode mode — Place the shortcode on any page or post:
You can override settings per-page:
Re-download the ZIP from your agent dashboard and re-upload via Plugins → Add New → Upload Plugin. Your saved settings will be preserved.
Send a message to your custom trained agent and receive a response generated entirely from your uploaded knowledge bases.
| Field | Type | Description |
|---|---|---|
agent_id | String (UUID) | The unique identifier for the agent you are querying. |
message | String | The message / question from the user. |
Retrieve public metadata for an agent (required to render the chat widget externally, does not require an API key).
Our API uses standard HTTP status codes and responds with detailed JSON error messages when a request fails.
| Code | Meaning | Description |
|---|---|---|
400 | Bad Request | Missing parameters or malformed JSON. |
401 | Unauthorized | Missing or invalid Authorization header (API Key). |
403 | Forbidden | The API key doesn't match the requested agent_id. |
404 | Not Found | The requested Agent UUID does not exist. |
429 | Too Many Requests | You have exhausted your billing plan's token limit. |
500 | Internal Error | An issue occurred connecting to the backend AI models. |