# Configure multilingual agent prompts and hangup settings Source: https://www.bolna.ai/docs/agent-setup/agent-tab Set up your Bolna Voice AI agent's welcome message, per-language prompts with dynamic variables, language switching, and call hangup conditions. The Agent Tab controls your agent's welcome message, prompts, and conversation behavior. Add multiple languages, set a default, and write a dedicated prompt for each. ![Agent Tab showing the Agent Welcome Message with a candidate\_name variable, the Canvas with Hindi (Default) and English tabs, AI Edit and Variables buttons, and the Variables panel open on the right with test values for candidate\_name, role, city, a screening JSON value and name](https://mintcdn.com/bolna-54a2d4fe/wRPUSRR7s2gkvTws/images/getting-started/agent-setup/agent-tab-overview.png?fit=max\&auto=format\&n=wRPUSRR7s2gkvTws\&q=85\&s=283bfd60b8946d9424f940434b12b732) Agent Tab with welcome message, multilingual Canvas prompt editor and the Variables panel *** ## Agent welcome message The first thing callers hear when they connect. ![Agent Welcome Message input with a Hindi greeting that uses a name variable, a Translations button inside the field, a hint showing variable\_name syntax in curly braces, the Ignore user speech before welcome message toggle and the Welcome Message Delay in ms slider](https://mintcdn.com/bolna-54a2d4fe/UJP7ncxdnawbFzxZ/images/getting-started/agent-setup/agent-welcome-message.png?fit=max\&auto=format\&n=UJP7ncxdnawbFzxZ\&q=85\&s=cc914e27cff5e9235260c3b67d97c891) Welcome message field with the Translations button, variable syntax hint, speech-ignore toggle and delay slider > [card] Keep it short > > Brief greetings work best. Long announcements feel robotic. > [card] Use variables > > Personalize with `{{variable_name}}`, e.g. `{{customer_name}}`. ### Welcome message behavior | Setting | What it controls | | - | - | | **Ignore user speech before welcome message** | Discards speech received before the welcome message finishes playing. | | **Welcome Message Delay (in ms)** | Waits `0–1000` milliseconds before the agent starts the welcome message. | ### Welcome message per language When the agent has two or more languages, a **Translations** button appears inside the **Agent Welcome Message** field. Click it to open the **Translations** panel, which has one box per language: ![Translations side panel with a Hindi row marked Default holding the agent welcome message, an English row with its own welcome message and a Translate icon, and Save changes and Discard buttons at the bottom](https://mintcdn.com/bolna-54a2d4fe/UJP7ncxdnawbFzxZ/images/getting-started/agent-setup/agent-welcome-translations.png?fit=max\&auto=format\&n=UJP7ncxdnawbFzxZ\&q=85\&s=61b0c4ad39b4ebf77001cc57992d7256) Translations panel with the default Hindi welcome message and an English welcome message * **Default language**: listed first and marked **Default**. Its box is the **Agent Welcome Message** itself, so editing it here edits the field above. * **Other languages**: optional. Leave a box empty and calls in that language play the default welcome message. * **Translate**: the icon in a language's box fills it with a translation of the default welcome message. Review or edit the result before saving. The icon shows once the agent is saved and the default message is not empty. Click **Save changes** to apply the panel to the agent, then **Save agent** to save it. **Discard** closes the panel without applying your edits. Each call opens with the welcome message of the language it starts in. Per-language messages support the same `{{variable_name}}` tokens, and their variables show up with the rest for test calls. To start a call in a particular language, see [Start a call in a chosen language](/docs/customizations/start-call-in-language#welcome-message-per-language). *** ## Canvas > [!NOTE] > > This section covers the canvas where each language has its own prompt. New agents in accounts with the **Single Prompt view (Beta)** use one shared prompt for all languages instead. See [Single Prompt view](/docs/agent-setup/single-prompt-view) to check which view your agent uses. Each language gets its own prompt. Select a language tab and write the prompt for that language. The agent activates the matching prompt when speaking in that language during a call. ![Canvas prompt editor with Hindi (Default) and English language tabs, Add Language, AI Edit and Variables buttons, a prompt with highlighted candidate\_name, city, role and screening.score variables, Add Section and a token count](https://mintcdn.com/bolna-54a2d4fe/wRPUSRR7s2gkvTws/images/getting-started/agent-setup/agent-prompt.png?fit=max\&auto=format\&n=wRPUSRR7s2gkvTws\&q=85\&s=3a7fe1676390e61b15b0bc9aad675827) Canvas with Hindi as the default language, an English tab, highlighted variables, the Variables button and the token counter ### Managing languages Languages are **added and removed here**, in the Agent Tab. The [Languages Tab](/docs/agent-setup/audio-tab) shows the same set of languages and is where each one gets its own [voice and transcription providers](/docs/agent-setup/audio-tab). **1. Add a Language** Click **+ Add Language** to create a new language tab. **2. Set the Default** Click the **crown icon** next to any language to make it the default. The default language is what the agent starts every conversation in, marked with **(Default)** in the tab. **3. Write Per-Language Prompts** Select each language tab and write its prompt in that language's **native script** — see [Non-English Prompts](/docs/writing-prompts-in-non-english-languages) for guidelines. Don't include language-switching instructions in it; switching is automatic — see [How Language Switching Works](/docs/customizations/language-switching-behavior). **4. Remove a Language** Click the **x** on a tab to remove it. The default language cannot be removed — promote another language first. ![Make English default tooltip explaining that the crown icon sets the default language for the main prompt and multilingual settings](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/getting-started/agent-setup/audio-language-primary.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=4be7d1782048905e982342e5591ee1cd) Crown icon tooltip to set a language as the default ### Prompt structure > [accordion] Recommended Prompt Sections > > | Section | Purpose | Example | > | - | - | - | > | **Personality** | Tone and feel | "warm, perceptive, and results-driven" | > | **Context** | Role background | "You are calling on behalf of Acme Corp..." | > | **Instructions** | Tasks and flow | "Ask for their order number first..." | > | **Guardrails** | Restrictions | "Never discuss competitor products..." | The editor shows a **token count** in the bottom-right to help you stay within LLM limits. ### Variable syntax | Syntax | Purpose | How to use | | - | - | - | | `{{variable_name}}` | Insert or define variables | Type `{` to open the variable picker. Select an existing variable or type a new name to create one. | | `{variable_name}` | The same variable, single-brace form | Still accepted, e.g. for prompts carried over from an earlier agent. The editor keeps whichever form you typed. | | `{variable.path}` | Read into a variable that holds a JSON value | Dot and bracket notation both work — `{prior.score}`, `{prior[loans][0][amount]}`. Only the root (`prior`) is a variable you fill in. See [Adding Variables](/docs/prompting/using-context#reading-into-a-json-value). | | `@` | Insert prompt modules, custom functions, or variables | Type `@` to browse and select existing modules, functions, or variables. You cannot create new items with `@`. | > [card] Variables with \{\{ }} > > Select existing variables or **create new ones** by typing a name. Values are passed via API or CSV at call time. > [card] Modules and functions with @ > > Select existing [prompt modules](/docs/prompting/introduction#prompt-modules), [custom functions](/docs/tool-calling/custom-function-calls), or variables. Cannot create new items. ### Browse modules Click the **Browse Modules** button in the top-right of the prompt section to open the full modules library. Browse by category (Collection, Optional, Flow, Sector, Universal), preview what each module does, and insert it directly into your prompt. See the [Prompting Guide](/docs/prompting/introduction#prompt-modules) for the full list of available modules. ### AI edit Click **AI Edit** in the top-right of the prompt section to open a chat panel and rewrite the prompt by describing the change you want. The rest of the Agent Tab steps aside while the panel is open, so the prompt gets the full height of the screen. > [!NOTE] > > AI Edit is in **beta** and is free to use during the beta. **1. Ask for a Change** Describe the change in the composer, e.g. "ask for the order number before anything else" or "make the tone warmer and cut the closing script down". Each message is answered against whatever the prompt says at that moment, so you can keep editing in the Canvas between messages. **2. Review the Proposed Changes** A rewrite comes back as a diff — added lines in green, removed lines in red. Click the expand icon on the **Proposed changes** card to read a long rewrite at full height. **3. Approve or Discard** **Approve edit** writes the rewrite into the Canvas and saves the prompt. **Discard** leaves the prompt untouched. Every proposal has to be approved or discarded before you can send the next message. The session works on **one language's prompt**. The language you had selected when you opened the panel is shown as a read-only label, and languages cannot be switched or added until you close the panel. Reopening the panel for the same agent and language picks the conversation back up. > [!NOTE] > > Approving an edit saves the prompt, but not the agent. Click **Save agent** for the new prompt to be used on calls. ### Revert AI edit change While the panel is open, **Revert AI Edit change** in the top-right puts the prompt back to how it was before the editing session started. It becomes available once you have approved at least one edit, and asks for confirmation because everything you approved during the session is discarded. > [!WARNING] > > The revert point only lasts as long as the session — closing the AI Edit panel discards it. Approved edits are already saved at that point and stay in the prompt. *** ## Per-language hand-in settings **Agent name** and **Hand-in message** — both optional — are set per language in the [Languages Tab](/docs/agent-setup/audio-tab#hand-in): how the agent introduces itself in a language and what it says while switching into it. *** ## Variables panel Every `{{variable_name}}` in your prompt or welcome message **automatically appears** in the **Variables** panel. Click **Variables** at the top right of the Canvas to open it, then fill in test values to preview how the prompt behaves before going live. The values are sent as call context (`user_data`) when you place a test call. ![Variables panel with the Asia/Kolkata timezone selector, Hindi (default, crown icon) and English tabs, fields for candidate\_name, role and city, a screening JSON editor with a Format button, a name field, and a footer with 5 variables, Import and Export](https://mintcdn.com/bolna-54a2d4fe/wRPUSRR7s2gkvTws/images/getting-started/agent-setup/agent-variables-panel.png?fit=max\&auto=format\&n=wRPUSRR7s2gkvTws\&q=85\&s=4b013a34c5b3a4d82c3100efe5e2af0f) Variables panel with language tabs, the timezone selector, auto-detected fields and a JSON variable * **Timezone**: the selector in the panel header sets the timezone context for test calls. It applies to all languages. * **Language tabs**: when the agent has two or more languages, each tab lists the variables used in that language's prompt plus those in the welcome message. The crown marks the default language. A value is shared across languages, so a variable used in several prompts only needs to be filled once. * **Long values**: hover over a field and click the expand icon to edit a long or multi-line value in a larger box. * **Filter**: with more than six variables, a filter box appears at the top to find a variable by name. * The footer shows how many variables the agent has and how many are still empty. The panel closes while [AI Edit](#ai-edit) is open. ### JSON variables A variable the prompt reads into with a path, like `{screening.score}`, holds a whole JSON value rather than a single word. It gets a taller JSON editor with syntax highlighting, an error marker on the offending character, and a **Format** button that re-indents the value. A value that is not valid JSON yet is flagged, because path references cannot resolve against it. ### Import and export values Use **Import** and **Export** in the panel footer to fill in or save test values in one go. ![Export menu in the Variables panel footer with Export JSON (all languages, current values) and Export CSV (batch upload format, one column per variable)](https://mintcdn.com/bolna-54a2d4fe/wRPUSRR7s2gkvTws/images/getting-started/agent-setup/agent-variables-export.png?fit=max\&auto=format\&n=wRPUSRR7s2gkvTws\&q=85\&s=c159caeed5bd316115a13780d1d4d20c) Export options in the Variables panel footer | Option | What it does | | - | - | | **Export JSON** | Downloads `-variables.json`: one object with every variable, its current value and the `timezone`. | | **Export CSV** | Downloads `-variables.csv` in the [batch calling](/docs/outbound/batch-calling) upload format: one column per variable, one row of values. | | **Import JSON** | Upload a `.json` file or paste JSON in the same shape as the export, e.g. `{ "candidate_name": "Riya Sharma", "timezone": "Asia/Kolkata" }`. | | **Import CSV** | Upload a `.csv` file with a header row of variable names and a row of values. | ![Import JSON dialog with Upload file and Paste tabs, a JSON example with candidate\_name, role, city, screening and name, a Sample template card with a Download link, and Cancel and Import buttons](https://mintcdn.com/bolna-54a2d4fe/wRPUSRR7s2gkvTws/images/getting-started/agent-setup/agent-variables-import-json.png?fit=max\&auto=format\&n=wRPUSRR7s2gkvTws\&q=85\&s=48a623fcbb263058122cb98aa2840d4f) Import JSON dialog with the Paste tab and a sample template to download Each import dialog has a **Sample template** you can download, prefilled with the agent's variables and current values. Imported fields are briefly highlighted. Keys that aren't variables of this agent are skipped, and if none match, nothing is imported. *** ## Hangup using prompt Let your agent decide when to end calls based on conversation context instead of silence detection or timeouts. ![Hangup using a prompt card with the toggle switched on and a prompt describing what to do when the booking is confirmed, the user is not interested, busy, or it is a wrong number](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/getting-started/agent-setup/agent-hangup-prompt.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=a0fbba22b0e9e7f2198431b0cf8022d7) Hangup using a prompt enabled, with the completion conditions the agent hangs up on **1. Enable the Toggle** Turn on **Hangup using a prompt**. **2. Define Completion Conditions** Write conditions for when a conversation is complete. For multilingual agents, include closing lines in each language. > [accordion] Example: Multilingual Hangup Prompt > > ``` > A conversation is considered complete if any of the following conditions are met: > User is not interested: > The assistant has said the following closing line: > Conversation Closing (English): "That is sad to hear. But no worries if you would ever want to learn more give me a cool." > Conversation Closing (Hindi): "ये सुनकर अफ़सोस हुआ। लेकिन कोई बात नहीं, अगर आप कभी और जानना चाहें तो मुझे call कर लें।" > The user has responded after that with any of the following phrases: "goodbye", "bye", "thank you", "thanks", "ok", "okay", or similar. > The last message in the transcript must be from the user. > ``` > [!WARNING] > > Without this, calls end only on silence detection or timeouts. *** ## Next steps > [card] [Intelligence tab](/docs/agent-setup/llm-tab) > > Configure the language model and knowledge bases > [card] [Languages tab](/docs/agent-setup/audio-tab) > > Set up voice, transcription, and per-language hand-in > [card] [Prompting guide](/docs/prompting/introduction) > > Best practices for writing prompts > [card] [Using variables](/docs/prompting/using-context) > > Dynamic personalization with context > [card] [How language switching works](/docs/customizations/language-switching-behavior) > > What actually triggers a mid-call switch # Agent versions Source: https://www.bolna.ai/docs/agent-setup/agent-versions Save your agent as a new version, view or edit versions that aren't live, test-call a version, and choose which version is live and handling calls. Agent versions let you try out changes to an agent without touching the configuration that's handling calls. You can keep several saved versions of an agent. Exactly one of them is **live**. > [!NOTE] > > This page covers agents built in Agent Studio. For graph agents, see [Graph agent version history](/docs/graph-agent/version-history). *** ## The version switcher The agent header shows a version chip, such as **v1 · Live**, next to the call history icon. Click it to open the **Versions** list. The list shows every saved version of the agent, when it was created and edited, and which version is live. Versions that aren't live are marked **Not live**. Each row has these actions: | Action | Description | | - | - | | **Rename** | Change the version's name. Names help you tell versions apart in tests and call logs | | **View** | Open the version read-only | | **Edit** | Open the version in the editor so you can change it. It stays not live | | **Make live** | Make this version the one that handles calls | | **Delete** | Delete the version | View, Edit, Make live and Delete are available only for versions that aren't live. *** ## Save as a new version To save your changes as a new version instead of updating the live one: **1. Make your changes** Edit the agent as usual. **2. Open the save menu** In the bottom-right action bar, click the arrow next to **Save agent**. **3. Save as a new version** Choose **Save agent as a new version**. The new version is created and isn't live. The live version keeps taking calls. Clicking **Save agent** itself still saves your changes to the live version. *** ## View a version Click **View** on a version in the switcher. The editor loads that version read-only, with a banner saying which version you're viewing and which version is live. **Save agent** is disabled while you view a version. From the banner you can: * **Make live**: make the version you're viewing live. * **Edit**: switch to editing the version. * **Back to live**: return to the live version. > [!WARNING] > > Opening another version discards any unsaved changes in the editor. Save first if you want to keep them. *** ## Edit a version that isn't live Click **Edit** on a version in the switcher, or **Edit** in the viewing banner. The banner changes to **Editing** and the save button reads **Save to** followed by the version's name, for example **Save to v2**. Saving updates only that version. The live version doesn't change, and you stay on the version you're editing. Click **Discard** in the banner to drop your unsaved changes. *** ## Test a version While you're viewing or editing a version, **Get a call from agent** places the test call using that version, not the live one. Use this to compare a new version against the live version before you make it live. *** ## Inbound calls Inbound numbers always answer with the live version. While a version that isn't live is open, the **Inbound Calling** toggle, the **Inbound number** selector and the **Set inbound number** buttons are disabled. Switch back to the live version to change inbound settings. See [Inbound Calling settings](/docs/agent-setup/inbound-tab). *** ## Make a version live Click **Make live** on a version in the switcher, or in the viewing banner. The version starts handling calls, and the editor reloads with it as the live version. *** ## Delete a version Click **Delete** on a version in the switcher and confirm. A deleted version can no longer be viewed, edited or made live. Calls that already ran on it keep their transcripts and still show it as their version. This can't be undone. You can't delete the live version. Make another version live first. *** ## Versions in call history When you select an agent in [call history](/docs/agent-setup/call-history), the table shows a **Version** column with the version each call ran on. Use the version filter to show calls from a single version. *** ## Next steps > [card] [Agent builder overview](/docs/agent-setup/overview) > > Learn the rest of Agent Studio > [card] [Call history](/docs/agent-setup/call-history) > > Compare calls across versions # Set up webhooks and post-call extractions Source: https://www.bolna.ai/docs/agent-setup/analytics-tab Configure webhooks, call summaries, and extractions for Bolna Voice AI. Push data to your CRM from every call. ## What is the Extractions tab? The Extractions Tab is where you configure webhooks for real-time data and post-call processing tasks. Automatically summarize conversations, extract structured data, and push execution data to your systems. ![Extractions Tab in Agent Studio showing a Webhook Configuration card with a Webhook URL field, an Add headers toggle, a Trigger on statuses selector and a Send test button, above an Extractions card with Extraction Library and Test buttons, a Call Summary toggle, a Lead Qualification category running GPT 4.1 Mini and a New Category button](https://mintcdn.com/bolna-54a2d4fe/K8nkTcLHvQdEi_0R/images/extractions/extractions-tab.png?fit=max\&auto=format\&n=K8nkTcLHvQdEi_0R\&q=85\&s=588754bdd259b0f7353643c7a9cee08e) Extractions Tab with the Webhook Configuration and Extractions cards *** ## Configuration options ### Push execution data to webhook > [!WARNING] > > **Don't miss real-time updates!** Configure a webhook to receive all execution data as calls happen — essential for CRM integrations and live dashboards. Enter your webhook URL to automatically receive all execution data for this agent. Use **Trigger on statuses** to choose which execution statuses send the webhook. Leave it empty to receive every status. Turn on **Add headers** to send custom headers (for example an auth token) with every webhook request, and click **Send test** to post a sample `completed` payload to your endpoint before going live. ![Webhook Configuration card with a Webhook URL field, a See all events link, an Add headers toggle, a Trigger on statuses selector set to All statuses (default) and a Send test button](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/extractions/webhook-configuration.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=498c2b6195cd784d4d608c75c61dad0c) Webhook Configuration card with Add headers and Send test > [!TIP] > > Click **[See all events](/docs/post-call/polling-call-status-webhooks)** to view the complete list of webhook event types you can receive. *** ### Call summary > [!NOTE] > > Automatically generate a summary of every conversation. Great for quick review and logging. Toggle on to populate the top-level `summary` field on every execution. *** ### Extractions Create custom extraction templates organized by categories to automatically capture structured data from call transcripts. ![Extractions card with Extraction Library and Test buttons, a Call Summary toggle switched on, a Lead Qualification category with a GPT 4.1 Mini model selector and an Add Extraction button, a Lead Quality extraction row with edit and delete icons, and a New Category button](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/extractions/analytics-tab-extractions.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=e43972221efa0be18c2aafa2b16f476f) Extractions card with a category and one extraction template ![New Extraction in Lead Qualification modal with Name and Extraction Prompt fields, Free Text and Pre-defined answer type checkboxes, and two Possible Answers rows hot\_lead and not\_qualified each with a condition, plus Cancel and Save Extraction buttons](https://mintcdn.com/bolna-54a2d4fe/K8nkTcLHvQdEi_0R/images/extractions/new-extraction.png?fit=max\&auto=format\&n=K8nkTcLHvQdEi_0R\&q=85\&s=536be758d4edaae709f51588478d4165) New extraction form with pre-defined answers **Extractions** allow you to automatically capture structured data from call transcripts. Organize extractions into categories and define custom questions to extract specific information like lead quality, appointment details, customer sentiment, and more. #### Key features **Categories** - Organize related extractions together (e.g., "Agent Handover", "Visit Details", "Lead Qualification") **Extraction Templates** - Define what data to capture with: * **Name** - Descriptive identifier (e.g., "Call Outcome", "Customer Sentiment") * **Extraction Prompt** - Instructions guiding the LLM on what to extract * **Answer Type** - Free Text (open-ended), Pre-defined (categorical options), or both **Model** - Set per category, not per extraction: every extraction in a category runs in one LLM pass on the model you pick (default: GPT 4.1 Mini) **Extraction Library** - Reuse an extraction you already built in another agent (**My Extractions**) or start from a ready-made template (**Library**) **Testing** - Validate extractions against sample or real transcripts before production deployment ![Test Extractions side panel with Sales Call, Support Call and Appointment sample transcript buttons, Paste and Import tabs above a transcript text area, an Override LLM model for test run checkbox and a Run Test button](https://mintcdn.com/bolna-54a2d4fe/K8nkTcLHvQdEi_0R/images/extractions/test-extractions.png?fit=max\&auto=format\&n=K8nkTcLHvQdEi_0R\&q=85\&s=94e3684f0306df322009588f8020a0d7) Test Extractions panel with a sample transcript loaded #### Common extraction categories > [card] Agent handover > > Detect when calls need human intervention > [card] Lead qualification > > Extract budget, timeline, decision-maker info > [card] Visit details > > Capture appointment times, dates, confirmation status > [card] Customer sentiment > > Analyze satisfaction levels and feedback > [!NOTE] > > Learn how to create and manage extraction templates, configure answer types, and test extractions in the [Using Extractions](/docs/prompting/using-extractions) guide. *** ## Use cases > [card] CRM updates > > Automatically update customer records after calls > [card] Lead scoring > > Extract qualification data from sales calls > [card] Compliance logging > > Capture required data points for regulations > [card] Performance tracking > > Analyze conversation outcomes and metrics *** ## Next steps > [card] [Inbound calling](/docs/agent-setup/inbound-tab) > > Configure inbound call settings > [card] [Tools tab](/docs/agent-setup/tools-tab) > > Add function tools and APIs > [card] [Call history](/docs/agent-setup/call-history) > > View call logs and transcripts > [card] [Webhooks guide](/docs/post-call/polling-call-status-webhooks) > > Learn about webhook events # Configure languages, voice and transcription settings Source: https://www.bolna.ai/docs/agent-setup/audio-tab Set up languages, voice, and transcription for your Bolna Voice AI agent. Pick providers, select voices, clone custom voices, and tune audio quality. The **Languages** tab (previously labeled **Audio**) controls how your agent listens and speaks. Pick the language you are configuring, then set its voice and transcription providers and tune audio quality. For multilingual agents, you can select **different transcription and voice providers and hand-in messages per language**. ![Languages Tab with Settings for English and Hindi (Default), Voice section showing ElevenLabs provider, Eleven Multilingual v2 model and a voice selector with Advanced settings, and Transcription section with deepgram nova-3, Keywords and Context fields](https://mintcdn.com/bolna-54a2d4fe/K8nkTcLHvQdEi_0R/images/getting-started/agent-setup/audio-tab.png?fit=max\&auto=format\&n=K8nkTcLHvQdEi_0R\&q=85\&s=8ee118b46771a48e0628da8fcd326471) Languages Tab showing per-language Voice (ElevenLabs) and Transcription (Deepgram) settings *** ## Languages The strip at the top of the tab, labeled **Settings for**, selects which language the voice and transcription settings below apply to. The language marked `(Default)` is the one your agent opens every conversation in. ![Settings for strip with an English tab and a selected Hindi (Default) tab, and the summary line Starts in Hindi, can move to English when requested or auto detected](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/getting-started/agent-setup/audio-language.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=42d72981384dde403d72396296eb6f08) Settings for strip with Hindi as the default language and English as the additional language, and the switching-condition dropdown below > [!NOTE] > > Languages are **added, removed, and promoted to default** in the [Agent Tab](/docs/agent-setup/agent-tab). On this tab the strip only switches between the languages you already configured there. ### When the agent switches language For multilingual agents, a summary under the strip recaps the setup — for example "Starts in **English**, can move to **Hindi**, **Dutch** when ..." — and ends in a dropdown that controls when a switch is allowed: **requested or auto detected** (the default) or **the caller requested for it**. See [When the Agent May Switch](/docs/customizations/multilingual-languages-support#when-the-agent-may-switch) for what each option means, and [How Language Switching Works](/docs/customizations/language-switching-behavior) for exactly what counts as "the caller speaking another language" — why a stray English word or a read-out order number won't trip a switch. ### Supported languages See the [Supported languages](/docs/customizations/supported-languages) page for the full list of languages Bolna can be configured with. *** ## Voice Controls how your agent sounds when speaking to the caller. For multilingual agents, each language can have its own voice provider, model, and voice. Select a language in the strip above to configure its voice settings independently. ![Bolna Voice settings showing ElevenLabs provider, Eleven Multilingual v2 model, Tripti - Calm and Clear voice selected, a play preview button and a collapsed Advanced settings panel](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/getting-started/agent-setup/audio-tts.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=f60fae6f7e642fbcea095fcc6c1b10d5) Voice configuration with ElevenLabs as provider, Eleven Multilingual v2 as model, and the Tripti voice selected, with the Advanced settings panel collapsed ### Provider, model, and voice **1. Select a Provider** Choose from **AzureTTS**, **Cartesia**, **ElevenLabs**, or **Sarvam**. **2. Pick a Model** Select the model that fits your latency and quality needs (e.g., ElevenLabs `eleven_turbo_v2_5` for low latency). **3. Choose a Voice** Click the **Voice** dropdown to browse all voices for the selected provider and model. ### Browsing voices Click the Voice dropdown to see a searchable list of all available voices. Filter by gender using the **All**, **Male**, **Female**, and **Neutral** tabs. Each voice shows a **play button** so you can preview it before selecting. ![Bolna voice selector dropdown with a Search voices box, gender filter tabs for All Male Female and Neutral, voices including Anika, Raju, Aakash Aryan and Tripti with play buttons, and an Add new voice link at the bottom](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/getting-started/agent-setup/audio-voice-selector.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=36561a4a2cf8ae34e447dddfcddfb557) Voice selector dropdown showing a searchable list of voices with gender filter tabs and play preview buttons ### Preview welcome message Click the **play button** next to the Voice dropdown to hear the selected voice speak your agent's welcome prompt (configured in the [Agent Tab](/docs/agent-setup/agent-tab)). This lets you test how the voice sounds before going live. ### Voice tuning parameters Fine-tune your agent's voice using the sliders under **Advanced settings**, below the voice selector. Available parameters may vary by provider. | Parameter | What it controls | | - | - | | **Buffer Size** | Audio buffered before playback begins. Higher values produce smoother audio but increase delay. Values between 150 and 250 work well for real-time conversations. | | **Speed Rate** | Speaking speed. `1` is natural pace, above `1` is faster, below `1` is slower. | | **Similarity Boost** | How closely the output matches the original voice sample. Higher values are more faithful but may reduce naturalness. | | **Stability** | Voice consistency across sentences. Higher values keep tone steady, lower values add expressive variation. | | **Style Exaggeration** | Emphasis on stylistic characteristics. `0` is neutral, higher values add more personality. | > [!WARNING] > > High **Buffer Size** improves quality but adds latency. If callers notice a delay before the agent speaks, lower this value. #### Extra request params With a [custom TTS](/docs/custom-tts) voice selected, **Advanced settings** also shows **Extra request params**. Switch it on to send your server any request fields it supports as JSON, such as a speaking speed, a language or delivery instructions: `{"speed": 1.2, "language": "English"}`. The example button fills in a speed. See [Extra request params](/docs/custom-tts#extra-request-params). ![Voice settings with Custom as provider and model and a blurred custom voice name, and the Advanced settings panel open with Buffer Size, the Extra request params toggle switched on, a JSON box containing speed set to 1.8, and a Speed 1.2x example button](https://mintcdn.com/bolna-54a2d4fe/TekekJjlDmGwfel7/images/getting-started/agent-setup/tts-extra-request-params.png?fit=max\&auto=format\&n=TekekJjlDmGwfel7\&q=85\&s=3134bbe333eb0bb6d00b3dec4d894e3e) Extra request params under the voice's Advanced settings, shown when a custom TTS voice is selected ### Pronunciation On ElevenLabs voices, and Cartesia `sonic-3` and newer, the **Pronunciation** section below the voice settings lists words and how the agent should say them, such as `HDFC` as "H D F C bank". Each language has its own list. Add words one by one or import a CSV or JSON file. See [Pronunciation](/docs/customizations/pronunciation). ![Languages tab with English (Default), Gujarati and Hindi in the Settings for strip, the Voice section with ElevenLabs, Eleven Multilingual v2 and the Chef DJ voice, and below it the Pronunciation section with Word and Pronounce as fields, an Add word button and an Import button](https://mintcdn.com/bolna-54a2d4fe/4URLMQEyjDev1TMf/images/getting-started/agent-setup/audio-pronunciation.png?fit=max\&auto=format\&n=4URLMQEyjDev1TMf\&q=85\&s=def3419cbaeb2d77b7fc1d57c1a76e94) The Pronunciation section below the Voice settings, for the English voice of a multilingual agent *** ## Adding and cloning voices Open the **Voice** dropdown and click **Add new voice** at the bottom to add a custom voice by ID or clone one from an audio sample. This opens the **Add Voice** dialog. > [!NOTE] > > Custom voice uploads are **only available for ElevenLabs and Cartesia**. ### Add a voice by ID Use this when you already have a voice ID from your provider's voice library. ![Bolna Add Voice modal with the Add by ID tab active, ElevenLabs selected as provider, a Voice ID field with placeholder pNInz6obpgDQGcFmaJgB, a link to the ElevenLabs voice library, and a blue Add voice button](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/getting-started/agent-setup/audio-add-voice.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=50d838241e15eed016212e65c7c504dd) Add Voice dialog with the Add by ID tab selected, ElevenLabs as provider, and a Voice ID input field **1. Select the Add by ID tab** Make sure the **Add by ID** tab is selected in the dialog. **2. Choose a Provider** Select **ElevenLabs** or **Cartesia**. **3. Enter the Voice ID** Paste the voice ID from your provider. For ElevenLabs, find IDs in the [ElevenLabs voice library](https://elevenlabs.io/voice-library). **4. Click Add voice** The voice will appear in the Voice dropdown for all your agents. ### Clone a voice Create a new voice by uploading an audio recording. Useful for maintaining a consistent brand voice or using a specific person's voice (with their permission). ![Bolna Add Voice modal on the Clone Voice tab with ElevenLabs selected as provider, Voice name placeholder Sales Assistant Voice, Description placeholder Warm male Indian accent, Sample language Hindi (hi), and a drag-and-drop upload area for audio files up to 10 MB](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/getting-started/agent-setup/audio-clone-voice.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=2889db23870db3ec3baffe64d7ad6893) Clone Voice tab with fields for Provider, Voice name, Description, Sample language, and a file upload area **1. Select the Clone Voice tab** Switch to the **Clone Voice** tab in the dialog. **2. Choose a Provider** Select **ElevenLabs** or **Cartesia**. **3. Enter Voice Details** Add a **Voice name** (e.g., "Sales Assistant Voice") and **Description** (e.g., "Warm male Indian accent"). **4. Select Sample Language** Choose the language of your audio sample. **5. Upload an Audio Sample** Drag and drop your audio file or click **click to browse**. Audio files only, maximum 10 MB. **6. Click Clone voice** The platform processes your sample and adds the new voice to the Voice dropdown. ### Supported languages for voice cloning Both ElevenLabs and Cartesia support cloning in the same [languages Bolna supports](/docs/customizations/supported-languages), plus an additional **Indian Multilingual** sample-language option. > [!TIP] > > For best results, use a clean recording with no background noise, a single speaker, and at least 30 seconds of continuous speech. *** ## Transcription Controls how your agent converts the caller's spoken words into text before the LLM processes them. For multilingual agents, each language can have its own transcription provider and model. Select a language in the strip above to configure its transcription settings independently. > [!NOTE] > > Different languages may perform better with different providers — see [Per-Language Configuration](/docs/customizations/multilingual-languages-support#per-language-configuration) for a worked example. ![Bolna transcription settings showing Provider set to deepgram, Model set to nova-3, a Keywords field listing Bolna, account number, customer service, and a Context field](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/getting-started/agent-setup/audio-stt.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=6b001b0a7a345bb1a4e0fe37c504f0e6) Transcription configuration with Deepgram nova-3 selected, plus Keywords and Context fields ### Provider and model Choose a transcription provider from the **Provider** dropdown, then pick the specific model from the **Model** dropdown. | Provider | What it offers | | - | - | | **Deepgram** | High-accuracy, low-latency transcription; reads the Keywords field | | **Deepgram Flux** | Turn detection inside the model; lowest latency and most accurate barge-in | | **AssemblyAI** | Universal-3.6 Pro: 32 languages with code-switching, strong on short answers and noisy lines | | **Azure** | Microsoft Azure Speech Services | | **ElevenLabs** | Scribe realtime; also reads the Keywords field (first 50 terms) | | **Gemini** | Google Gemini streaming speech-to-text | | **Gladia** | Multilingual transcription with code-switching | | **Google** | Google Cloud Speech-to-Text | | **OpenAI** | GPT Realtime transcription with built-in VAD | | **Sarvam** | Optimized for Indian languages like Hindi, Tamil, and Telugu | | **Smallest** | Lightweight, fast transcription provider | | **Soniox** | Multilingual with native mid-sentence code-switching | ### Keywords Boost recognition accuracy for specific words the transcriber might miss, such as brand names, product names, or technical terms. Enter one term per entry, comma-separated (e.g., `Bruce, Acme, Meesho`). > [!NOTE] > > Not every transcriber reads this field,When your > selected transcriber or model can't use it, the box is shown disabled. See > [provider support](/docs/customizations/asr-keywords-and-context#provider-support) for which providers > read it and their limits. > [!WARNING] > > The boost value is not passed through to the transcriber. Deepgram receives the terms as `keyterm` on > `nova-3` and Flux and as `keywords` on `nova-2` and earlier; ElevenLabs receives them as keyterms. > None of those carry weights, and agents created through the > [Create Agent API](/docs/api-reference/agent/v2/create) have the `:boost` suffix stripped before storage. > Enter plain terms such as `Bruce` rather than `Bruce:100`. ### Advanced settings Some transcribers have settings of their own, under **Advanced settings** below the Keywords and Context fields. The section is collapsed by default and only appears for a provider that has such settings. ![Bolna Transcription settings with Provider set to assembly and Model set to universal-3-6-pro, Keywords and Context fields, and an expanded Advanced settings panel showing Mode set to Balanced, VAD threshold set to 0.2 and Longest pause in a turn set to 1280](https://mintcdn.com/bolna-54a2d4fe/aqfv3Q6JZJEwm63M/images/getting-started/agent-setup/audio-stt-assemblyai-advanced.png?fit=max\&auto=format\&n=aqfv3Q6JZJEwm63M\&q=85\&s=735080f09935e57a111a09531062eee9) AssemblyAI transcription with Advanced settings expanded, showing Mode, VAD threshold and Longest pause in a turn at AssemblyAI's defaults | Provider | Settings | | - | - | | **AssemblyAI** | **Mode**, **VAD threshold** and **Longest pause in a turn**. Mode applies to the Universal-3 models only | | **Deepgram Flux** | **EndOfTurn Threshold**, **EndOfTurn Timeout** and **Eager EndOfTurn** | | **OpenAI** | **Transcription Delay** and **Noise Reduction** | Each AssemblyAI setting opens on the value AssemblyAI uses when you leave it alone, so you can see what you are changing from. Raise **Longest pause in a turn** if callers get cut off while reading out numbers or addresses, and raise **VAD threshold** if line noise interrupts the agent. See [AssemblyAI session settings](/docs/assemblyai#session-settings) for what each does and the settings available over the API. *** ## Hand-in Shown only when the agent has more than one language. These two fields cover how the agent moves **into** the language selected in the strip above. | Field | Description | | - | - | | **Agent name** | How the agent introduces itself while switching to this language, e.g. `Maya`. | | **Hand-in message** | What the agent says while transitioning into this language, for example `Connecting you to Maya, who speaks Hindi.` | > [!NOTE] > > Both are **optional** — leave them blank and the agent switches without a spoken hand-in line. These fields used to live under **Advanced Settings** in the Agent Tab, where they were called Agent Name and Handoff Message. They are still per language — the values set for Hindi do not affect English. *** ## Next steps > [card] [Engine tab](/docs/agent-setup/engine-tab) > > Configure interruption handling, endpointing, and latency > [card] [Multilingual support](/docs/customizations/multilingual-languages-support) > > Set up agents that speak multiple languages in a single call > [card] [How language switching works](/docs/customizations/language-switching-behavior) > > The detection engine behind mid-call switching > [card] [Clone voices](/docs/clone-voices) > > Create a custom voice from an audio sample > [card] [Deepgram provider](/docs/deepgram-transcriber) > > Explore Deepgram transcription models and keyword boosting # How to read the call analytics dashboard Source: https://www.bolna.ai/docs/agent-setup/call-analytics See how your calls perform on Bolna: how many calls are completed, how many become real conversations, and the best day of the week and hour to call. The Call Analytics dashboard shows how your calls perform. Use it to answer three questions: 1. **How many of my calls are completed (connected)?** 2. **How many completed calls become real conversations (two-way conversations of 30 seconds or more)?** 3. **What is the best day of the week and hour to call?** To open it, go to [platform.bolna.ai/analytics](https://platform.bolna.ai/analytics), or click **Monitor → Analytics** in the left navigation menu. The dashboard counts phone calls only, both outbound and inbound. Web calls, such as testing an agent in your browser, are not included. *** ## What you can use it for | If you want to… | Look at | | - | - | | Check how many of your calls actually got through | [Call Results](#call-results-did-the-call-get-through) | | Find the step where you lose most people, from dialing to a real conversation | [Call Funnel](#call-funnel-from-dialed-to-a-real-conversation) | | Plan your [batch calls](/docs/outbound/batch-calling) for the days and hours that work best | [Best Day and Hour to Call](#best-day-and-hour-to-call) | | See when people stay on the line the longest | [Average Call Duration](#average-call-duration) | | Know how many **people** you reached, not just how many calls you made | The [Unique Numbers](#all-calls-or-unique-numbers) tab | | Compare one date range with another, or one agent or sub-account with another (if your account has those filters) | The [filters](#filter-the-dashboard) | *** ## All calls or unique numbers At the top of the dashboard there are two tabs. Both show the same four charts, but they count in different ways. * **All Calls** counts every call. If you call the same number 3 times, that is 3 calls. Use it to see how your calling effort performs. * **Unique Numbers** counts each phone number once, however many times you called it. Use it to see how many **people** you reached. **Simple example.** You call a person 3 times. The line is busy twice, and the third call is completed. | Tab | Dialed | Completed | | - | - | - | | **All Calls** | 3 calls | 1 call | | **Unique Numbers** | 1 number | 1 number | **Furthest stage example.** You call Priya 3 times: * Call 1: the line is busy. * Call 2: the call connects, but it ends before she says anything. * Call 3: the call connects and she talks with your agent for 45 seconds. | Tab | Dialed | Completed | Real conversation | | - | - | - | - | | **All Calls** | 3 calls | 2 calls | 1 call | | **Unique Numbers** | 1 number | 1 number | 1 number | In **Unique Numbers**, Priya is counted once, at the furthest stage any of her calls reached. Her third call became a real conversation, so she counts as one real conversation, even though her other two calls did not. *** ## Filter the dashboard Use the filter bar below the tabs to focus on the calls you care about. Every filter applies to every chart on the dashboard. The filters you see depend on your account: * **Self-serve accounts** have one filter, **Date**. * **Other accounts** have **Date**, and may also have **Agent Id** and **Sub Acc ID**, depending on how the account is set up. | Filter | Use it to | | - | - | | **Date** | Choose the time period. It starts at **Previous 7 days**. | | **Agent Id** | Show calls made or received by one agent. | | **Sub Acc ID** | Show calls from one sub-account. | For example, set **Date** to the last 30 days to see how your calls performed this month. If you have the **Agent Id** filter, pick your sales agent as well to see only that agent's calls. *** ## Call results: did the call get through? The first chart, **Call Outcomes After Dialing**, shows what happened each time a call was placed. The number in the center is the total, and each slice is one result. ![Call Outcomes After Dialing - Unique Contact donut chart showing completed, busy, no-answer and Other with a total in the center](https://mintcdn.com/bolna-54a2d4fe/VuWXh2G4pOlQ_2KN/images/call-analytics/call-outcomes-unique.png?fit=max\&auto=format\&n=VuWXh2G4pOlQ_2KN\&q=85\&s=64233f19ec99abe4cf17bdbc93bdc988) Call Outcomes After Dialing – Unique Contact | Result on the chart | What it means | | - | - | | **completed** | The call got connected. | | **busy** | The line was busy, or the person declined the call. | | **no-answer** | The phone rang, but nobody picked up. | | **failed** | The call could not be connected. | Results that make up only a very small share of calls are grouped together as **Other**. In the **Unique Numbers** tab, each number shows its best result across all its calls. From best to worst, the order is **completed**, **busy**, **no-answer**, **failed**. For example, a number that did not pick up twice and then got connected on the third call counts as **completed**. **Use it to:** spot a reachability problem. If a large share of calls are **busy** or **no-answer**, try calling at a different time. The [Best Day and Hour to Call](#best-day-and-hour-to-call) chart shows which times work better. *** ## Call funnel: from dialed to a real conversation The Call Results chart tells you whether a call was completed. The **Call Funnel** shows what happened next: did the completed call turn into a real conversation? The funnel has five steps. A call only reaches a step if it passed every step before it, so the numbers get smaller from left to right. ![Call Funnel – Unique Numbers chart with five stages: 1. Dialed, 2. Connected, 3. Person on the line, 4. Two-way conversation and 5. Qualified conversation (30s+), each showing a percentage and a count below it](https://mintcdn.com/bolna-54a2d4fe/VuWXh2G4pOlQ_2KN/images/call-analytics/call-funnel-unique.png?fit=max\&auto=format\&n=VuWXh2G4pOlQ_2KN\&q=85\&s=db0a8e82b048f7d8af0cd1324300c8b0) Call Funnel – Unique Numbers | Step | What it tells you | | - | - | | **1. Dialed** | The call was placed. | | **2. Connected** | The call got connected (**completed**). | | **3. Person on the line** | The person actually spoke. Silence or unclear audio does not count. | | **4. Two-way conversation** | The person kept replying to your agent. | | **5. Qualified conversation (30s+)** | That conversation lasted 30 seconds or more. This is a real conversation. | ### Reading the numbers Each step shows two numbers: a **percentage** and a **count**. The percentage is always out of the total **Dialed**. In the example above, 1,342,819 leads were dialed and 876,336 of them were completed, so **Connected** shows **65.26%**. At the end of the funnel, 209,775 leads (15.62% of everyone dialed) had a real conversation. **Use it to:** find the biggest drop between two steps. For example, if many calls are completed but far fewer reach **Person on the line** or **Two-way conversation**, people are hanging up early. Review how your agent opens the call. ### SIP calls are checked differently > [!NOTE] > > **SIP calls** are calls placed through your own phone lines using a [SIP trunk](/docs/sip-trunking/overview). **Non-SIP calls** are all other calls. **Dialed** and **Connected** (steps 1 and 2) work the same way for every call. Steps 3 to 5 depend on what was said on the call: * For **non-SIP calls**, Bolna checks the **call audio**. * For **SIP calls**, the call audio is not available for analysis, so Bolna checks the **call transcript** instead. So the rules for steps 3 to 5 are slightly different. They apply in both tabs, and the [Best Day and Hour to Call](#best-day-and-hour-to-call) chart uses the same rule for a real conversation. | Step | Non-SIP calls (checked using the call audio) | SIP calls (checked using the call transcript) | | - | - | - | | **1. Dialed** | The call was placed. | Same as non-SIP. | | **2. Connected** | The call got connected. | Same as non-SIP. | | **3. Person on the line** | The person talked for at least 3 seconds with clear audio. | The person replied at least once. | | **4. Two-way conversation** | The person replied 3 or more times. | The person replied 2 or more times. | | **5. Qualified conversation (30s+)** | A two-way conversation (3 or more replies) where the call lasted 30 seconds or more. | 2 or more replies, and the call lasted 30 seconds or more. | > [!NOTE] > > A SIP call needs fewer replies than a non-SIP call to reach steps 4 and 5. Keep this in mind when you compare the funnels of SIP and non-SIP agents. *** ## Best day and hour to call This chart shows **when** your completed calls are most likely to become real conversations. It is a grid. Each **row** is a day of the week and each **column** is an hour of the day. Each cell shows the **percentage of completed calls that became a real conversation** (a two-way conversation of 30 seconds or more) on that day and hour. For SIP calls, that means 2 or more replies and a call of 30 seconds or more. ![Calls\_>30Sec/Connected\_Calls\_Day\_of\_the\_week heatmap with days Mon to Sun as rows and hours 06 to 21 as columns; each cell shows a percentage, higher values shaded green and lower values shaded red, and the 06 and 07 columns are blank](https://mintcdn.com/bolna-54a2d4fe/VuWXh2G4pOlQ_2KN/images/call-analytics/best-time-to-call.png?fit=max\&auto=format\&n=VuWXh2G4pOlQ_2KN\&q=85\&s=74f0f7d4acf68d2c679225bac02b61cd) Percentage of completed calls that became real conversations (30s+), by day and hour A **higher** percentage means a **better** time to call. Green cells are your best times and red cells are your worst. For example, the cell for **Fri** at **21** shows **36.6**. That means 36.6% of calls completed on Fridays between 9 PM and 10 PM became real conversations. In the **Unique Numbers** tab, each number is counted once per hour, so calling the same person many times does not skew the result. A number counts as a real conversation for that hour if any of its completed calls in that hour was one. **Use it to:** schedule your [batch calls](/docs/outbound/batch-calling) in the green slots, and set your agent's [calling guardrails](/docs/outbound/calling-guardrails) to avoid the red ones. *** ## Average call duration This chart uses the same day-by-hour grid. Each cell shows **how long completed calls lasted on average, in seconds**, on that day and hour. A longer average usually means people stayed on the line and engaged more with your agent. ![Avg\_Duration\_Hourly\_Day\_of\_week - Unique Contact heatmap with days Mon to Sun as rows and hours 06 to 21 as columns showing average seconds per cell, with an info tooltip reading: Average connected call length (seconds) per person, by day and hour (IST). Each person counted once per hour. Blank = too few calls.](https://mintcdn.com/bolna-54a2d4fe/VuWXh2G4pOlQ_2KN/images/call-analytics/average-call-duration.png?fit=max\&auto=format\&n=VuWXh2G4pOlQ_2KN\&q=85\&s=dc3d5f15631c96f7de4619c89427b010) Average length of completed calls by day and hour, with the chart's info tooltip open For example, the cell for **Wed** at **08** shows **63**. That means completed calls on Wednesdays between 8 AM and 9 AM lasted 63 seconds on average. In the **Unique Numbers** tab, each person is counted once per hour. Their completed calls in that hour are averaged first, so one person you called many times does not outweigh everyone else. **Use it to:** check the Best Day and Hour to Call chart. Times with both a high percentage there and a long average here are your strongest calling windows. *** ## Reading tips * **All times are in IST.** Column **06** is 6 AM and column **18** is 6 PM. The columns run from **06** to **22** (10 PM). On smaller screens, scroll the grid sideways to see the last columns. * **Blank cells mean too few calls.** A cell shows a value only when that day and hour has more than 200 completed calls (more than 200 people in the **Unique Numbers** tab). With fewer calls, the number would not be reliable. * **Filters apply to every chart.** Change a filter at the top and all charts update. * **Not sure what a chart shows?** Hover the small **i** (info) icon next to its title for a short description. *** ## Next steps > [card] [Call history](/docs/agent-setup/call-history) > > Drill into individual calls, recordings and transcripts > [card] [Batch calling](/docs/outbound/batch-calling) > > Schedule calls for the best days and hours > [card] [Calling guardrails](/docs/outbound/calling-guardrails) > > Limit the hours your agent can make outbound calls > [card] [SIP trunking](/docs/sip-trunking/overview) > > Place calls through your own phone lines # Agent conversations, metrics & logs Source: https://www.bolna.ai/docs/agent-setup/call-history Access Voice AI agent conversations, recordings, transcripts, and execution data. Monitor performance metrics, debug with logs, and export data for analysis. ## What is call history? Call History (Agent Conversations) displays all historical conversations with your agents. View performance metrics, listen to recordings, read transcripts, and access raw execution data for debugging and analysis. ![Agent Conversations page with agent, batch and date-range pickers, Refresh, Stop Queued Calls and Download Records buttons, metric cards, status filters and a table of executions with Conversation Data, Debug, Rating and Actions columns](https://mintcdn.com/bolna-54a2d4fe/F7khyafXF7Yc6q0S/images/getting-started/call-history/call-history-overview.png?fit=max\&auto=format\&n=F7khyafXF7Yc6q0S\&q=85\&s=a866e0b690a4d7368b965b860c36dd15) Call History on Bolna Platform *** ## How to access call history **1. From Sidebar** Click **Monitor → Call History** in the left navigation menu. **2. From Agent Studio** Click the **call history** (clock) icon in the agent header, next to the copy Agent ID button. *** ## Performance metrics > [!NOTE] > > The top section displays **real-time metrics** for your selected agent and date range. Use these to monitor campaign performance at a glance. | Metric | Description | | - | - | | **Total Executions** | Total number of call attempts | | **Total Cost** | Total campaign spend | | **Total Duration** | Total talk time | | **Status Breakdown** | Chips under the metric cards counting calls per status (Completed, No-answer, Error, …) | | **Avg Cost** | Average cost per call | | **Avg Duration** | Average call length | *** ## Filtering calls > [accordion] Available Filters > > | Filter | Description | > | - | - | > | **Agent** | Select a specific agent to view its calls | > | **Batch** | Filter by batch campaign | > | **Date Range** | Choose a date range for the calls | > | **Status** | Filter by Completed, Error, or No-Answer | > | **Call type** | Filter by inbound or outbound calls | > | **Voice mail** | Filter calls that were answered by voicemail | > | **Provider** | Filter by telephony provider | > | **Version** | Filter by the [agent version](/docs/agent-setup/agent-versions) the call ran on. Shown when an agent is selected | > [!TIP] > > Use the **search by execution ID** box to quickly find a specific call. *** ## Calling table Each call is displayed with the following information: | Column | Description | | - | - | | **Execution ID** | Unique identifier for the call | | **User Number** | Phone number of the caller/recipient | | **Call Type** | Type of call (plivo outbound, twilio inbound, webcall for browser calls, websocket outbound for chat, etc.) | | **Version** | The [agent version](/docs/agent-setup/agent-versions) the call ran on. Shown when an agent is selected | | **Duration** | Call duration in seconds | | **Hangup By** | Who ended the call (user, Callee, Carrier, Plivo, etc.) | | **Termination Reason** | What happened to the call, as a badge colored by outcome; hover it for what the value means. See [Termination reasons](/docs/post-call/termination-reasons) | | **Batch** | Batch campaign if applicable | | **Initiated At** | When the call started, with the UTC offset | | **Cost** | Cost of the call | | **Status** | Call status (Completed, No-answer, Error) | | **Conversation Data** | Opens **Recordings, transcripts, etc** for the execution | | **Debug** | Opens the debugging view for the execution in a new tab | | **Rating** | Click **Rate this call** to feed quality reporting | | **Actions** | Stop a queued or scheduled call | *** ## Call details > [tab] Conversation Data > > Click **Recordings, transcripts, etc** to view the full conversation data. > > ![Conversation data side panel headed by the execution ID with a copy button and a Transcript card showing alternating Assistant and User messages](https://mintcdn.com/bolna-54a2d4fe/K8nkTcLHvQdEi_0R/images/getting-started/call-history/conversation-data.png?fit=max\&auto=format\&n=K8nkTcLHvQdEi_0R\&q=85\&s=c32058c093c7f512b7fefe09addac6bf) > > Conversation data panel > > | Section | Description | > | - | - | > | **Recording** | Audio waveform with play, copy, and download options | > | **Transcript** | Full conversation showing Assistant and User messages | > | **Summary & extracted data** | Call summary and [extraction](/docs/agent-setup/analytics-tab) results, when the agent has them configured | > > > [!NOTE] > > > > The **Recording** card only appears for calls that produced audio. Text chats from **Chat with agent** are logged as `websocket outbound` executions with a transcript but no recording. > > > [!TIP] > > > > Use the copy button to quickly copy the recording URL or transcript text. > [tab] Debugging > > Click the **Debug** (bug) icon in a call row to open the debugging view for that execution in a new tab. You can also open **Monitor → Debugging** in the left navigation menu and paste an execution ID into the search box to look up any call. > > ![Debugging page with an execution ID search box, Search, Download recording and Rate call buttons, a recording player, call type, status, webhook delivery, batch, initiated at, hangup by and hangup reason, and Summary, Timeline, Transcript, Extraction, Execution logs and Raw logs tabs](https://mintcdn.com/bolna-54a2d4fe/F7khyafXF7Yc6q0S/images/getting-started/call-history/debugging-view.png?fit=max\&auto=format\&n=F7khyafXF7Yc6q0S\&q=85\&s=f80e8184500471dd7a8a06e50b85b9a0) > > Debugging view > > The top of the page shows a recording player, the call type, status, webhook delivery status, batch, initiated time, hangup by, and hangup reason. Use **Download recording** to save the audio and **Rate call** to submit feedback. Click **Hide details** to collapse the call details. > > | Tab | Description | > | - | - | > | **Summary** | Agent and telephony configuration used for the call, function tools, and cost breakdown | > | **Timeline** | **Latency per Turn** chart (transcriber finalize, transcriber → LLM, LLM, time to first audio), plus average and P90 latency by component | > | **Transcript** | The conversation, linked to recording playback; interrupted agent speech is marked when applicable | > | **Extraction** | Each configured extraction field with its extracted value, reasoning, allowed values, and prompt | > | **Execution logs** | An **Execution Logs** table (timestamp, log data, direction, component, provider, latency) and a **Webhooks** tab with webhook delivery details | > | **Raw logs** | The complete execution JSON, with **Search logs**, **Copy JSON**, and **Download JSON**. See the [execution payload reference](/docs/post-call/execution-payload) for what each field means | > > When you fetch logs via the [Get execution raw logs API](/docs/api-reference/executions/get_execution_raw_logs), LLM assistant responses may also include **`reasoning_content`** (model thinking or reasoning summary) when the provider returns it. > > > [!NOTE] > > > > The raw logs format matches the [Get Execution API](/docs/api-reference/executions/get_execution) response, making it easy to integrate with your systems programmatically. For a field-by-field breakdown of the JSON, see the [execution payload reference](/docs/post-call/execution-payload). > > > [!WARNING] > > > > **Execution logs are essential for debugging.** Use them to identify latency issues, transcription errors, or unexpected LLM responses. *** ## Quick actions | Action | Description | | - | - | | **Refresh** | Reload the call list | | **Stop Queued Calls** | Cancel pending calls in the queue | | **Download Records** | Export call data as CSV | > [!TIP] > > Export call data as CSV for analysis in spreadsheet tools or to share with your team. *** ## Next steps > [card] [Extractions tab](/docs/agent-setup/analytics-tab) > > Configure webhooks and post-call tasks > [card] [Get execution API](/docs/api-reference/executions/get_execution) > > Access call data programmatically > [card] [Agent Studio](/docs/agent-setup/overview) > > Configure your agent settings > [card] [Batch calling](/docs/outbound/batch-calling) > > Set up automated calling campaigns # Configure telephony, noise, and call timing for voice AI Source: https://www.bolna.ai/docs/agent-setup/call-tab Set up telephony providers like Plivo and Twilio, noise cancellation, voicemail detection, DTMF input, inbound calls and outbound calling hours. ## What is the Calling tab? The Calling Tab is where you configure how your agent handles phone calls. Set up your telephony provider, enable call features like noise cancellation and voicemail detection, turn on **Inbound Calling** for this agent, and restrict outbound calling hours. > [!NOTE] > > Final call message and hangup timers moved to the [Engine Tab](/docs/agent-setup/engine-tab#final-call-message-%26-call-management). ![Calling Tab with a Call Configuration card showing Telephony Provider Plivo, Ambient Noise None, Noise Cancellation at 75, Voicemail Detection at 2.5, Keypad Input DTMF and Auto Reschedule toggles, an Inbound Calling card and an Outbound call timing restrictions card with an Allowed Time Window](https://mintcdn.com/bolna-54a2d4fe/K8nkTcLHvQdEi_0R/images/getting-started/agent-setup/call-tab-full.png?fit=max\&auto=format\&n=K8nkTcLHvQdEi_0R\&q=85\&s=ea676d3d2a32c1cdfe92ccd5bdf27e3a) Calling Tab showing Call Configuration, Inbound Calling and Outbound call timing restrictions *** ## Configuration options The settings below follow the order they appear in the **Call Configuration** card, top to bottom, followed by the Inbound Calling and Outbound call timing restrictions cards. ![Call Configuration card with Telephony Provider set to Plivo, an Ambient Noise dropdown, and Noise Cancellation, Voicemail Detection, Keypad Input DTMF and Auto Reschedule toggles](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/getting-started/agent-setup/call-telephony.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=fbfe8ad605a2e9fc0c394e27e81172c4) Call Configuration card with the telephony provider and call feature toggles *** ### Telephony provider Pick the provider this agent uses to place and receive phone calls: **Twilio**, **Plivo**, **Vobiz** or **Exotel**. Once your account has a [SIP trunk](/docs/sip-trunking/overview), the **Telephony Provider** dropdown also lists **SIP Trunk**. If the account also has a Legacy SIP trunk (deprecated), that one is listed as **SIP Trunk (previous)**. > [!TIP] > > Connect your own telephony provider in [Settings → Integrations](/docs/providers) for more control and cost savings. *** ### Ambient noise Add background ambient noise to your calls for a more natural, human-like experience. Ambient noise is available for **Plivo** and **Vobiz** telephony providers and for [SIP trunks](/docs/sip-trunking/overview). ![Ambient Noise dropdown open next to the Telephony Provider field, listing None, office-ambience, call-center and coffee-shop, with add and preview buttons beside the dropdown](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/getting-started/agent-setup/call-ambient-noise.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=945f5f53a31c94d96a7f5f227a5f567e) Ambient Noise dropdown listing the preset tracks Bolna supports both **preset** and **custom** ambient noise tracks. Select a preset or upload your own custom track to use as background noise during calls. #### Preset Tracks Three preset tracks are available to all users out of the box: | Track | Description | | - | - | | **office-ambience** | Subtle office background noise | | **call-center** | Call center ambient sounds | | **coffee-shop** | Background sounds of a coffee shop environment | Set ambient noise to **None** to disable it (default). #### Custom Tracks Use the **+** button next to the dropdown to upload your own ambient noise track, and the play button to preview the selected track: * **Supported formats**: `wav`, `mp3` * **Maximum file size**: 10 MB * You can upload, list, and delete your custom tracks from the dashboard or via the API * Custom tracks are private to your account, while presets are available to everyone > [!NOTE] > > Ambient noise is only supported with **Plivo** and **Vobiz** telephony providers and on SIP trunks. *** ### Noise cancellation Filters background noise during the conversation, so the agent hears the caller more clearly in noisy places like streets, shops or offices. * **Off by default.** Turning it on sets the level to **85%**. * Drag the slider to set the level anywhere from **60%** to **100%**. *** ### Voicemail detection Detects when a call is answered by a voicemail system or answering machine and disconnects the call automatically, so your agent doesn't speak to a recording. * **Off by default.** * On **Twilio**, you can also set how long Bolna waits to detect a machine: **2** to **10** seconds in 0.5-second steps (default **2.5** seconds). On other providers the duration field is shown but cannot be edited. > [!NOTE] > > If real people are being disconnected, turn voicemail detection off for this agent. See [calls failing or dropping early](/docs/troubleshooting/calls-fail-or-drop-early). *** ### Keypad input (DTMF) Lets the caller type digits on their phone keypad, such as an OTP, PIN or order number, and press **#** to submit. The digits reach the agent as text it can read and respond to. * **Off by default.** * Available with **Twilio**, **Plivo** and SIP trunks. The toggle is disabled for other providers. > [!NOTE] > > Prompting tips and provider details are in the [DTMF (keypad input)](/docs/inbound/dtmf) guide. *** ### Auto reschedule Calls the recipient back at the time they ask for. If someone on the call says something like "I'm busy now, call me tomorrow at 4 PM", Bolna schedules a new call to them at that time. **Off by default.** This is a **Beta** feature and is still being improved. **How it works:** 1. After the call ends, Bolna reads the transcript to find the date and time the recipient asked to be called back. 2. If a valid time is found, a new call is scheduled to the same phone number with the same agent, caller number and call details. It shows up with the `scheduled` status, and the original call's `rescheduled_at` field is set to the callback time. 3. If no callback time was discussed, nothing is scheduled. **A callback is not scheduled when:** * The recipient never spoke during the call * The requested time is in the past or more than **14 days** away * The requested time falls outside your allowed calling hours. The request is dropped, not moved to the nearest allowed time. See [in-call reschedule validation](/docs/outbound/calling-guardrails#in-call-reschedule-validation) for how the allowed hours are decided. > [!NOTE] > > Auto reschedule is not the same as retrying unanswered calls. To redial calls that end as `no-answer`, `busy` or `failed`, use [Auto-retry](/docs/outbound/auto-retry). *** ### Inbound calling Inbound settings live inside the Calling tab. Toggle on **Inbound Calling** to assign an inbound number to this agent, match callers against a database, and set spam limits. ![Inbound Calling section with Inbound number selector, Database for inbound phone numbers, and Spam Prevention Settings](https://mintcdn.com/bolna-54a2d4fe/qVTfW-uCbuCJNYsK/images/getting-started/agent-setup/inbound-tab.png?fit=max\&auto=format\&n=qVTfW-uCbuCJNYsK\&q=85\&s=926d372ef83b0b0d36d416c56c2fcb2d) Inbound Calling section toggled on | Setting | Description | | - | - | | **Inbound number** | Pick one of your [phone numbers](/docs/buying-phone-numbers) to route incoming calls to this agent | | **Database for inbound phone numbers** | Match callers to a CSV, Google Sheet or API and preload their data | | **Spam Prevention Settings** | Cap calls per phone number and maintain an always-allow list | > [!NOTE] > > The full walkthrough is in [Inbound Calling settings](/docs/agent-setup/inbound-tab). *** ### Outbound call timing restrictions Restrict outbound calls to a specific time window. This is **off by default**. Toggle it on to set an allowed calling window. ![Outbound call timing restrictions card with the toggle enabled and an Allowed Time Window with start and end time pickers](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/getting-started/agent-setup/call-outbound-restrictions.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=5288302c3717f3e49071a5ba77440122) Outbound call timing restrictions toggled on with an allowed time window | Field | Description | | - | - | | **Allowed Time Window** | Set a start and end time (e.g., 9:00 AM to 9:00 PM). Calls outside this window are automatically rescheduled to the next allowed time. | The time window is validated against the **recipient's local timezone**, detected automatically from their phone number. For example, a 9 AM start means 9 AM in the recipient's timezone, not yours. > [!WARNING] > > Many regions have laws restricting when you can make outbound calls. Enable timing restrictions to stay compliant with local regulations. > [!NOTE] > > You can also configure call timing restrictions via the API and bypass them for urgent calls. See the full [Calling Guardrails](/docs/outbound/calling-guardrails) guide for details. *** ## Next steps > [card] [Calling guardrails](/docs/outbound/calling-guardrails) > > Set allowed hours, bypass rules, and compliance > [card] [Engine tab](/docs/agent-setup/engine-tab) > > Configure latency and interruptions > [card] [Tools tab](/docs/agent-setup/tools-tab) > > Add function tools and APIs > [card] [Telephony providers](/docs/providers) > > Connect Twilio, Plivo, or Exotel # Import agents Source: https://www.bolna.ai/docs/agent-setup/copy-import-agent Import Bolna Voice AI agent templates for instant deployment. Clone & customize pre-built conversational workflows for support, lead gen, booking & more. **1. Click Import** In Agent Studio's **Your Agents** panel, click **Import**. ![Your Agents panel header with Import and New Agent buttons above the agent search box](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/agent_template_1.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=c14a08bba5de4e2533186a64b80a431c) Click Import in the Your Agents panel **2. Enter the agent ID** In the **Import agent** dialog, paste the `agent_id`, optionally give the copy an **Agent Name**, and click **Import Agent**. Turn on **Copy webhook URL** to carry the source agent's webhook URL over to the imported agent. It stays off by default, so the new agent starts with no webhook. ![Import agent modal reading Enter agent\_id to import it, with an Agent ID field, an Agent Name field, a Copy webhook URL toggle switched off and an Import Agent button](https://mintcdn.com/bolna-54a2d4fe/K8nkTcLHvQdEi_0R/images/agent_template_2.png?fit=max\&auto=format\&n=K8nkTcLHvQdEi_0R\&q=85\&s=4681944edfa87a7eedf4d25ad574e1c8) Import agent dialog with the Agent ID, Agent Name and Copy webhook URL fields ## Which prompt view the imported agent uses If the [Single Prompt view (Beta)](/docs/agent-setup/single-prompt-view) is enabled for your account, the imported copy opens in it when the source agent has **one language**, or when the source agent already uses the Single Prompt view. A source agent with **more than one language** on the older canvas has a separate prompt per language, so its copy stays on the older canvas. The source agent itself doesn't change. If the Single Prompt view isn't enabled for your account, imported agents open in the older canvas. ## Next steps > [card] [Agent builder overview](/docs/agent-setup/overview) > [card] [Single Prompt view](/docs/agent-setup/single-prompt-view) # Configure voice AI latency and interruptions Source: https://www.bolna.ai/docs/agent-setup/engine-tab Fine-tune your Bolna Voice AI agent's performance. Configure transcription accuracy, interruption thresholds, response latency, and user detection. ## What is the Engine tab? The Engine Tab controls the core performance settings of your voice AI agent. Fine-tune transcription accuracy, interruption behavior, response timing, and user presence detection for optimal conversation quality. ![Engine Tab in Agent Studio showing a Response Latency card with Response Rate Custom, Endpointing 150 ms and Linear delay 250 ms, a Transcription & Interruptions card with the interruption word count set to 2, a User Online Detection card with English and Hindi message tabs, and Final Call Message and Call Management cards](https://mintcdn.com/bolna-54a2d4fe/K8nkTcLHvQdEi_0R/images/getting-started/agent-setup/engine-tab-overview.png?fit=max\&auto=format\&n=K8nkTcLHvQdEi_0R\&q=85\&s=9777bd7f1486bf4ef88d498796191af2) Engine Tab with the Response Latency, Transcription & Interruptions, User Online Detection, Final Call Message and Call Management cards *** ## Configuration options ### Transcription & interruptions Control how speech is captured and processed during conversations. ![Transcription & Interruptions card with the Number of words to wait for before interrupting slider set to 2, beside the Response Latency card](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/getting-started/agent-setup/engine-transcription.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=c18a04518d4909e2c9d30ec9905b2321) Transcription & Interruptions card > [card] Interruption threshold > > **Number of words to wait for before interrupting** — how many words the user must say before the agent treats it as an interruption and stops speaking. > [!NOTE] > > **Stopwords like "Stop", "Wait", "Hold On"** will always pause the agent immediately, regardless of the interruption threshold. *** ### Response latency Configure how quickly your agent responds to user input. ![Response Latency card with Response Rate set to Custom, Endpointing at 150 ms and Linear delay at 250 ms, next to the Transcription & Interruptions card](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/getting-started/agent-setup/engine-latency.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=0952c6d43ac66fbd4f0dfc0085001c9e) Response Latency card with the Custom response rate sliders | Setting | Description | Impact | | - | - | - | | **Response Rate** | Choose a preset or **Custom** | Presets tune latency automatically; Custom exposes the sliders below | | **Endpointing (ms)** | Wait time before generating response | Lower = faster but may cut off user | | **Linear Delay (ms)** | Accounts for mid-sentence pauses | Prevents premature responses | > [!NOTE] > > The **Endpointing** slider only appears for transcribers that use it: Deepgram (except Flux models), ElevenLabs, Gladia, OpenAI and Gemini. Other transcribers, including [Deepgram Flux](/docs/deepgram-flux), detect the end of a turn on their own, so the slider is hidden and a note under Response Latency explains why. **Linear Delay** still applies to every transcriber. > [!WARNING] > > **Lower latency isn't always better!** Setting values too low may cause the agent to interrupt users mid-sentence. Start with defaults and adjust based on testing. > [!TIP] > > For **natural conversations**, use Endpointing around 200-300ms and Linear Delay around 400-500ms. *** ### User online detection Detect when users go silent and automatically re-engage them. ![User Online Detection card with the toggle enabled, English and Hindi tabs above a message box reading Hello, are you still there?, and an Invoke message after slider set to 8 seconds](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/getting-started/agent-setup/engine-user-detection.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=18f303984b73444e2767a838ebb4c22b) User Online Detection card with the re-engagement message and timer **1. Enable Detection** Toggle **User Online Detection** to check if the user is still on the call. **2. Set the Message** Customize the prompt (e.g., "Hello, are you still there?") per language using the language tabs. **3. Configure Timing** Set **Invoke message after (seconds)** to control when the check triggers. > [!TIP] > > Set the timer between **8-15 seconds** to give users enough time to respond without seeming impatient. *** ### Final call message & call management Configure the last message your agent says before disconnecting, and how and when calls should end. ![Final Call Message card with English and Hindi tabs, a closing message reading The call will now disconnect. Goodbye! and an Allow interruption toggle, beside a Call Management card with Hangup on User Silence enabled at 13 seconds and Total Call Timeout at 820 seconds](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/getting-started/agent-setup/call-management.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=0de211a98408d96e51428545cf3efaa0) Final Call Message and Call Management cards **Final Call Message** — select a language, write a warm closing (e.g., "Thank you for your time. Goodbye!"), and repeat for each language your agent speaks. **Allow interruption** lets the caller speak over the agent's goodbye. When the agent decides the conversation is over and starts to say goodbye, a caller who cuts in with a last question ("wait, one more thing") stops the goodbye, the hangup is canceled, and the conversation carries on. The agent can still end the call later. Off by default, so the goodbye plays through and the call ends. ![Final Call Message card with the Allow interruption toggle switched on below the closing message, beside the Call Management card](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/getting-started/agent-setup/allow-interruption.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=1ef3f617f5ebd2604a0f750041e33978) Allow interruption switched on under Final Call Message > [!NOTE] > > Allow interruption applies when the agent ends the call through [Hangup using a prompt](/docs/agent-setup/agent-tab#hangup-using-prompt). Hangup on user silence, total call timeout, call transfers and voicemail hangups are never interruptible. A caller can reopen the conversation at most twice per call; after that the goodbye plays through. | Setting | Description | Recommended | | - | - | - | | **Hangup on User Silence** | Auto-hangup after X seconds of silence | 6-10 seconds | | **Total Call Timeout** | Maximum call duration in seconds | 300s (5 min) for support, higher for sales | > [!WARNING] > > **Set reasonable timeouts** to manage costs and prevent stuck calls. Very long calls can indicate issues or abandoned calls. *** ## Best practices > [card] Start with defaults > > Use default settings initially and adjust based on real call feedback > [card] Test extensively > > Make test calls to experience the timing and interruption handling > [card] Consider use case > > Customer support may need longer pauses; sales may prefer faster responses > [card] Monitor analytics > > Review call recordings to identify timing issues *** ## Next steps > [card] [Calling tab](/docs/agent-setup/call-tab) > > Configure telephony and call features > [card] [Languages tab](/docs/agent-setup/audio-tab) > > Set up voice and transcription providers > [card] [Intelligence tab](/docs/agent-setup/llm-tab) > > Configure language model settings > [card] [Call history](/docs/agent-setup/call-history) > > Review call logs and recordings # Set up inbound calls & caller matching Source: https://www.bolna.ai/docs/agent-setup/inbound-tab Configure inbound call settings for Bolna Voice AI. Match callers using CSV, Google Sheets, or API. Set up spam prevention and preload customer data. ## What are the inbound calling settings? Inbound settings live in the **Calling** tab of your agent, under the **Inbound Calling** toggle (the standalone Inbound tab has been merged into Calling). Toggle it on to pick an inbound number, match callers to your database, preload user data before the call starts, and set up spam prevention to protect your agents from abuse. ![Inbound Calling section toggled on, showing Inbound number selector, Database for inbound phone numbers, and Spam Prevention Settings](https://mintcdn.com/bolna-54a2d4fe/qVTfW-uCbuCJNYsK/images/getting-started/agent-setup/inbound-tab.png?fit=max\&auto=format\&n=qVTfW-uCbuCJNYsK\&q=85\&s=926d372ef83b0b0d36d416c56c2fcb2d) Inbound Calling section in the Calling tab **1. Open the Calling tab** Select your agent in Agent Studio and open the **Calling** tab. **2. Toggle on Inbound Calling** Switch on **Inbound Calling** and pick an **Inbound number** from your [phone numbers](/docs/buying-phone-numbers). The database and spam settings below unlock once a number is selected. **3. Save agent** Click **Save agent** for the inbound number to take effect. > [!NOTE] > > Inbound numbers always answer with the live [agent version](/docs/agent-setup/agent-versions). While a version that isn't live is open in the editor, inbound settings are disabled. Switch back to the live version to change them. *** ## Database for inbound phone numbers Match incoming calls to users and preload their data before the call starts. The **Select data source** dropdown stays disabled until an inbound number is selected; once it is enabled, choose from three data source options: > [tab] Internal APIs > > Connect your own API to fetch user data dynamically when a call comes in. Selecting this option reveals an **Enter API Endpoint URL** field and an **Enter Auth Token** field beside the data source dropdown. > > **1. Select Data Source** > > Choose **"Use your internal APIs"** from the dropdown. > > **2. Enter API Endpoint URL** > > Provide your API endpoint that will receive the caller data request. > > **3. Add Auth Token** > > Enter your Bearer token for secure authentication. > > ### Query Parameters > > Bolna automatically passes these parameters to your API: > > | Parameter | Description | > | - | - | > | `contact_number` | The caller's phone number | > | `agent_id` | Your agent's identifier | > | `execution_id` | Unique identifier for this call | > > > [!WARNING] > > > > **Your API must return a JSON response** with user details. Bolna will inject this data directly into your agent's prompt for personalized conversations. > > ### Example API Request > > ```bash theme={"system"} > curl -X GET "https://your-api.com/user-data?contact_number=+919876543210&agent_id=abc123&execution_id=xyz789" \ > -H "Authorization: Bearer YOUR_AUTH_TOKEN" \ > -H "Content-Type: application/json" > ``` > > ### Example API Response > > ```json theme={"system"} > { > "user_name": "John Doe", > "account_status": "premium", > "last_purchase": "2026-01-15" > } > ``` > > > [!NOTE] > > > > Authentication uses Bearer token and is stored securely by Bolna. > [tab] CSV Upload > > Upload a CSV file containing your user database. Selecting this option reveals an **Upload CSV File** button beside the data source dropdown. > > **1. Select Data Source** > > Choose **"Use a CSV"** from the dropdown. > > **2. Upload CSV File** > > Click **Upload CSV File** and select your file. > > > [!WARNING] > > > > The CSV file **must include a `contact_number` column** containing phone numbers. These numbers will be matched against the caller's phone number. > > ### CSV Format Example > > ```csv theme={"system"} > contact_number,user_name,account_type > +919876543210,John Doe,premium > +918765432109,Jane Smith,basic > ``` > [tab] Google Sheet > > Connect a public Google Sheet as your user database. Selecting this option reveals a Google Sheet URL field and a sheet name field beside the data source dropdown. > > **1. Select Data Source** > > Choose **"Use a public Google Sheet"** from the dropdown. > > **2. Enter Google Sheet URL** > > Paste the URL of your public Google Sheet. > > **3. Enter Sheet Name** > > Specify the exact name of the sheet tab to use. > > > [!WARNING] > > > > The sheet **must be public** and should include a `contact_number` column containing phone numbers. *** ## Call restrictions > [!NOTE] > > Toggle on **Allow incoming phone calls only from the chosen database** to restrict incoming calls to phone numbers found in your chosen database. Unknown callers will be rejected. *** ## Spam prevention settings Protect your agent from spam and abuse. | Setting | Description | | - | - | | **Maximum calls allowed per Phone Number** | Limit calls from a single number. Set to `-1` for unlimited. | | **Always-allow list (bypass call limits)** | Phone numbers that bypass all call limits. | > [!TIP] > > Add your support team and VIP customers to the always-allow list to ensure they're never blocked. *** ## Use cases > [card] Customer verification > > Only allow calls from registered customers > [card] VIP support > > Preload customer data for personalized service > [card] Abuse prevention > > Limit repeated calls from the same number > [card] Dynamic data loading > > Fetch real-time customer data via API *** ## Next steps > [card] [Agent tab](/docs/agent-setup/agent-tab) > > Configure prompts and welcome message > [card] [Calling tab](/docs/agent-setup/call-tab) > > Set up telephony and call features > [card] [Receiving calls guide](/docs/inbound/receiving-calls) > > Complete inbound setup guide > [card] [Phone numbers](/docs/buying-phone-numbers) > > Purchase and manage phone numbers # Choose and configure LLM models for voice AI Source: https://www.bolna.ai/docs/agent-setup/llm-tab Select and configure the language model for your Bolna Voice AI agent. Choose from OpenAI, Azure, Anthropic, and connect knowledge bases. ## What is the Intelligence tab? The **Intelligence** tab (previously labeled **LLM**) is where you select and configure the intelligence behind your voice AI agent. Choose your language model provider, adjust response parameters, and connect knowledge bases for enhanced conversations. ![Intelligence Tab in Agent Studio showing Choose LLM model with openai and gpt-4.1-mini, Model Parameters with token and temperature sliders, and a Knowledge Base multi-select](https://mintcdn.com/bolna-54a2d4fe/K8nkTcLHvQdEi_0R/images/getting-started/agent-setup/llm-tab.png?fit=max\&auto=format\&n=K8nkTcLHvQdEi_0R\&q=85\&s=9f3dd00913976c617e7551f19ad8832a) Intelligence Tab with the Choose LLM model, Model Parameters and Knowledge Base cards *** ## Configuration options ### Choose LLM model Select your AI provider and model for conversation intelligence. ![Choose LLM model card with Provider set to openai and Model set to gpt-4.1-mini](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/getting-started/agent-setup/llm-model.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=5b3fb8beee849224b76b3d5b201c96a4) Choose LLM model card with the Provider and Model dropdowns > [card] Provider selection > > Choose from Azure, OpenAI, Anthropic, Groq, and more > [card] Model selection > > Pick the specific model (e.g., `gpt-4.1-mini`) > [!TIP] > > Connect your own provider keys in [Settings → Integrations](/docs/providers) to reduce costs and access more models. To run the agent on your own model or an inference provider such as Groq, Cerebras or Together AI, pick **+ Add custom LLM** at the bottom of the **Provider** dropdown. The new model is selected on the agent as soon as it's added. See [Custom LLM inference](/docs/custom-llm-inference). *** ### Model parameters Fine-tune how your agent generates responses. ![Model Parameters card with Tokens generated on each LLM output set to 370 and Temperature set to 0.35, each with a slider and numeric input](https://mintcdn.com/bolna-54a2d4fe/K8nkTcLHvQdEi_0R/images/getting-started/agent-setup/llm-parameters.png?fit=max\&auto=format\&n=K8nkTcLHvQdEi_0R\&q=85\&s=b90d2f3c2314c7326a725c7256cfb677) Model Parameters card with the token limit and temperature sliders | Parameter | Description | Recommended | | - | - | - | | **Tokens generated on each LLM output** | Maximum tokens per LLM output | 300-500 for concise responses | | **Temperature** | Controls creativity/randomness | 0.3-0.5 for balanced responses | | **Verbosity** | Controls how detailed the visible answer is. Appears only for supported reasoning models | Low for concise voice responses | | **Reasoning effort** | How much the model reasons before answering. Shown for models that support it | Lowest available setting for voice | > [!WARNING] > > **Keep temperature low** (0.3-0.5) if you want consistent, controlled responses. Higher temperature increases creativity but may cause deviation from your prompt instructions. > > GPT-5 models are the exception: they accept only `1`, so the temperature control has no effect on them. Constrain those agents through the prompt instead. > [!NOTE] > > On GPT-5 models, reasoning tokens are drawn from the same budget as **Tokens generated on each LLM output**, so raise the cap whenever you raise reasoning effort. The effort control lists only the values the selected model accepts, and the options change when you switch models. See [OpenAI](/docs/openai-llm#reasoning-effort) for the per-model values. #### Extra request params With a [custom model](/docs/custom-llm-inference) selected, the tab also shows **Extra request params**. Switch it on to send your server parameters beyond the OpenAI standard as JSON, for example `{"chat_template_kwargs": {"enable_thinking": false}}` to turn Qwen3's thinking off on vLLM. The example buttons fill in common ones. See [Extra request params](/docs/custom-llm-inference#extra-request-params). ![Model Parameters card with the Extra request params toggle switched on, a JSON box containing chat\_template\_kwargs with enable\_thinking set to false, and example buttons for Thinking off (vLLM / SGLang) and Reasoning off (OpenRouter)](https://mintcdn.com/bolna-54a2d4fe/JNheqYsqZS7qzqpS/images/getting-started/agent-setup/llm-extra-request-params.png?fit=max\&auto=format\&n=JNheqYsqZS7qzqpS\&q=85\&s=83ad05d113c58bf091c8615f0fbd498f) Extra request params under Model Parameters, shown when a custom model is selected *** ### Add knowledge base Connect your knowledge bases to give your agent accurate, contextual information. ![Knowledge Base card with the Select knowledge bases dropdown open, listing a PDF and a URL knowledge base with checkboxes and an Add new knowledgebase link](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/getting-started/agent-setup/llm-knowledge-base.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=94395e3bea0b6ef1c799546ffc404455) Knowledge Base card with the multi-select dropdown open **1. Click the Dropdown** Open the **"Select knowledge bases"** multi-select dropdown. **2. Select Knowledge Bases** Check one or more knowledge bases (PDFs, URLs) to connect. **3. Create New (Optional)** Click **"Add new knowledgebase"** to create and upload new content. > [!NOTE] > > Knowledge bases enable your agent to answer questions with accurate, up-to-date information from your documents and URLs. Connect multiple knowledge bases for comprehensive coverage. > [!TIP] > > Create knowledge bases in the [Knowledge Base](/docs/knowledge-base) section by uploading PDFs or adding URLs. *** ## Next steps > [card] [Knowledge base](/docs/knowledge-base) > > Create and manage knowledge bases > [card] [Agent tab](/docs/agent-setup/agent-tab) > > Configure prompts and welcome message > [card] [Languages tab](/docs/agent-setup/audio-tab) > > Set up voice, transcription, and languages > [card] [LLM providers](/docs/providers) > > Connect your own LLM provider # Configure voice AI agents in Bolna Source: https://www.bolna.ai/docs/agent-setup/overview Complete guide to configuring Bolna Voice AI agents. Customize prompts, test conversations, and deploy agents for inbound and outbound calls. ## Open Agent Studio Agent Studio is where you configure and fine-tune your Voice AI agents. Open **Build → Agent Studio** in the [Bolna Platform](https://platform.bolna.ai/dashboard) sidebar, then create or select an agent. To generate a complete agent from a short description instead of configuring each tab yourself, use [Auto Build](/docs/agent-setup/studio). ![Agent Studio with the Build, Deploy and Monitor sidebar, a Your Agents panel listing agents, the selected agent's header with Voice engine Cascaded and cost per minute, the seven configuration tabs, the Agent Welcome Message and Canvas cards, and Save agent and Get a call from agent buttons](https://mintcdn.com/bolna-54a2d4fe/K8nkTcLHvQdEi_0R/images/getting-started/agent-setup/overview-full.png?fit=max\&auto=format\&n=K8nkTcLHvQdEi_0R\&q=85\&s=170836ab171205eaabcb9c4a7c7638a5) Agent Studio on Bolna Platform *** ## Your agents sidebar The left sidebar shows all your agents and provides quick access to create or import agents. ![Your Agents panel with Import and New Agent buttons, a Search agents box and two agent rows, each with a three-dot menu](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/getting-started/agent-setup/overview-sidebar.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=326cafcd91a7b2b68a36981f03950703) Your Agents Sidebar | Action | Description | | - | - | | **New Agent** | Create an agent using **Auto Build**, **Start from Template**, or from scratch | | **Import** | Import an existing agent configuration using an [agent ID](/docs/agent-setup/copy-import-agent) | | **Search** | Quickly find agents by name | | **Agent List** | Click any agent to open its configuration; use the **⋮** menu to Rename, Share, Duplicate or Delete | > [!NOTE] > > New agents are created in **draft** status until you save them. *** ## Agent header The header bar displays key information and quick actions for your selected agent. ![Agent header with the editable agent name, a Voice engine selector set to Cascaded, copy Agent ID and call history icon buttons, a Cost per min bar split into Agent Cost, Telephony and Platform with a Preferred Price badge and an India routing label](https://mintcdn.com/bolna-54a2d4fe/K8nkTcLHvQdEi_0R/images/getting-started/agent-setup/overview-header.png?fit=max\&auto=format\&n=K8nkTcLHvQdEi_0R\&q=85\&s=f7ee1931f14b7728bd89bbe8fe6a3cd4) Agent Header with Status and Actions | Element | Description | | - | - | | **Agent Name** | Your agent's display name — click to edit inline | | **Voice engine** | Switch between **Cascaded** (separate transcriber, LLM and voice) and other engines | | **Copy Agent ID** | Copy the agent ID for API integrations | | **Call history** | Jump to this agent's [call history](/docs/agent-setup/call-history) | | **Version** | Shows the version you're on, such as **v1 · Live**. Click it to view, edit, rename, delete or make live a [version](/docs/agent-setup/agent-versions) | | **Cost per min** | Estimated cost breakdown per minute (Agent Cost, Telephony, Platform), with a **Preferred Price** badge when the agent uses [preferred models](/docs/pricing/preferred-models) | | **Routing** | Active routing region (e.g., India routing) | > [!NOTE] > > Inbound number assignment now lives inside the **Calling** tab under **Inbound Calling** — see the [Inbound Calling settings](/docs/agent-setup/inbound-tab). *** ## Configuration tabs Configure every aspect of your agent using the **7 specialized tabs**. ![Row of seven configuration tabs — Agent, Intelligence, Languages, Calling, Engine, Tools and Extractions — with Agent selected](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/getting-started/agent-setup/overview-tabs.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=2030a61b20d83bc8191e59311bbccd08) Agent Configuration Tabs > [card] [Agent](/docs/agent-setup/agent-tab) > > Prompts & welcome message > [card] [Intelligence](/docs/agent-setup/llm-tab) > > Model & knowledge base > [card] [Languages](/docs/agent-setup/audio-tab) > > Voice & transcription > [card] [Calling](/docs/agent-setup/call-tab) > > Telephony, inbound & call timing > [card] [Engine](/docs/agent-setup/engine-tab) > > Latency & interruptions > [card] [Tools](/docs/agent-setup/tools-tab) > > Functions & APIs > [card] [Extractions](/docs/agent-setup/analytics-tab) > > Webhooks & extraction > [!NOTE] > > The former **Inbound** tab has been merged into **Calling**. Toggle on **Inbound Calling** there to pick an inbound number, match callers to a database and set spam limits — see [Inbound Calling settings](/docs/agent-setup/inbound-tab). > [!NOTE] > > The seven tabs above apply to the **Cascaded** voice engine. **Realtime (Beta)** agents use six tabs: **Agent, Model, Calling, Engine, Tools, Extractions**. Their **Model** tab replaces the separate Intelligence and Languages tabs. *** ## Testing & saving Test your agent before deploying and save your changes. All actions sit in the bottom-right action bar of the editor: **Save agent**, **Get a call from agent**, and a dropdown arrow that opens the other test options. ![Bottom-right action bar with Save agent and Get a call from agent buttons and an open dropdown listing Chat with agent, Web Call (Beta) and Get a call from agent, each with a one-line description](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/getting-started/agent-setup/overview-actions.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=3e1613a5827f8c6d92f1e91774d01603) Save agent button and the Test options dropdown ### Testing options Click the arrow next to **Get a call from agent** to open the **Test options** dropdown. | Method | Description | Best For | | - | - | - | | **Chat with agent** | Test the agent over text chat | Quick prompt iteration and debugging | | **Web Call** | Talk to the agent in your browser | Testing voice without using phone minutes | | **Get a call from agent** | Agent calls your phone number | Real-world voice experience | > [!TIP] > > **Pro tip:** Use "Chat with agent" for quick iterations, then validate with a real phone call before deploying! ### Save & manage | Action | Description | | - | - | | **Save agent** | Save your configuration — changes only take effect after saving! | | **Save agent as a new version** (arrow next to **Save agent**) | Save your changes as a new [version](/docs/agent-setup/agent-versions) that isn't live | | **Call history** (header icon) | View [call history](/docs/agent-setup/call-history), recordings, and transcripts | | **Agent options** (⋮ in the agent list) | Rename, Share, Duplicate or Delete the agent (use delete with caution) | > [!WARNING] > > **Remember to save!** Your changes won't apply until you click **Save agent**. *** ## Quick links > [card] [Import an agent](/docs/agent-setup/copy-import-agent) > > Import existing agent configurations > [card] [Buy phone numbers](/docs/buying-phone-numbers) > > Purchase phone numbers for inbound calls > [card] [Call history](/docs/agent-setup/call-history) > > View call logs, recordings, and transcripts *** ## Next steps > [card] [Agent tab](/docs/agent-setup/agent-tab) > > Configure prompts and welcome message > [card] [Intelligence tab](/docs/agent-setup/llm-tab) > > Choose your language model and knowledge base > [card] [Languages tab](/docs/agent-setup/audio-tab) > > Set up voice and transcription > [card] [Knowledge base](/docs/knowledge-base) > > Upload documents for context-aware responses # Single Prompt view for multilingual agents Source: https://www.bolna.ai/docs/agent-setup/single-prompt-view Write one prompt for every language your Bolna agent speaks: mark the lines that need translating and review each language's wording in the Translations panel. Build a multilingual agent from one prompt instead of maintaining a separate prompt for every language. You write the role, rules and call flow once, then mark only the lines the agent speaks out loud. Bolna gives each marked line its own wording per language; everything else is shared. > [!NOTE] > > **Beta.** The Single Prompt view is being A/B tested, so it may not be on your account yet. To turn it on, email [support@bolna.ai](mailto:support@bolna.ai). *** ## Why one prompt A multilingual agent is really one conversation spoken in several languages. The Single Prompt view treats it that way. * **Change it once, everywhere.** Rules, call flow and instructions live in one shared prompt. Edit them once and the change applies to every language, with no tabs to hop between and no edits to repeat. * **Your languages never drift apart.** With a single source, there's no risk of updating Hindi and forgetting Tamil. Every language runs the same logic. * **No translating by hand.** Mark the lines your agent speaks and Bolna translates them into each of your languages. You only step in to review or fine-tune the wording. In the [older canvas](/docs/agent-setup/agent-tab#canvas), each language has its own full prompt, even though most of that text is identical. Every change has to be repeated in each tab, and over time the tabs fall out of sync. Here's how the two compare: | | Older canvas | Single Prompt view | | - | - | - | | **Prompts** | One full prompt per language | One prompt for all languages | | **What differs by language** | Everything in that tab | Only the lines you mark | | **Changing a rule** | Edit every language tab | Edit once | | **Adding a language to a saved agent** | A blank tab to write by hand | Marked lines are translated automatically | *** ## Which agents use the Single Prompt view An agent's view is set when it's created and saved with it. Enabling the view on your account doesn't change agents you already have; they keep working exactly as before, in the editor and on calls. The table assumes the Single Prompt view is enabled for your account. | Agent | Opens in | | - | - | | **New agent** created in Agent Studio | Single Prompt view | | **Imported agent** with one language | Single Prompt view | | **Imported agent** already using the Single Prompt view | Single Prompt view, whatever its number of languages | | **Imported agent** with more than one language | Older canvas | | **Existing agent** created before you had the view | Older canvas | Imported multi-language agents stay on the older canvas because their separate per-language prompts don't map onto one shared prompt. See [Import agents](/docs/agent-setup/copy-import-agent). > [!TIP] > > **How to tell which view you're in:** the Single Prompt view shows language chips with a **+** icon. The older canvas shows language tabs with a **+ Add Language** button. *** ## How translation works ![Mark any line for translation explainer at the top of the Canvas, comparing a marked Hindi line that is translated on English calls with an unmarked Hindi line that stays in Hindi](https://mintcdn.com/bolna-54a2d4fe/uLjgCUpYuCgcg6UC/images/getting-started/agent-setup/single-prompt/explainer.png?fit=max\&auto=format\&n=uLjgCUpYuCgcg6UC\&q=85\&s=97f2ac6b0d27e794b0d9abb6b084852d) The translation explainer shown at the top of the Canvas Every line in the prompt is either **marked** or **unmarked**. * **Marked lines** have their own wording in each language. On a call, the agent uses the wording for the caller's language. Mark what the agent says out loud: the opening line, questions, confirmations and closing lines. * **Unmarked lines** stay exactly as written, in every language. Instructions, rules and section headings usually stay unmarked. You write the prompt in your **default language**, shown with a crown. Every other language takes its wording from it. > [!WARNING] > > If an agent has more than one language and no lines are marked, the Canvas shows a warning. Without marked lines, the agent speaks every line in the default language on all calls. ### Mark a line for translation **1. Hover over the line** A translate icon appears in the left margin, with the tooltip **Mark as translation to auto-translate across all current and future languages**. ![Hovering a line under Section 3: Application Confirmation shows a translate icon in the left margin with the tooltip Mark as translation to auto-translate across all current and future languages](https://mintcdn.com/bolna-54a2d4fe/uLjgCUpYuCgcg6UC/images/getting-started/agent-setup/single-prompt/mark-line.png?fit=max\&auto=format\&n=uLjgCUpYuCgcg6UC\&q=85\&s=1f7bd75b7926cfd945169e55ad661f0d) Translate icon in the left margin of a line **2. Click the icon** The line turns blue and the **Translations** panel opens for it. ### Mark a phrase within a line To translate only part of a line, such as the question after a label or the example replies inside an instruction, mark just those words. **1. Select the words** Highlight the phrase in the prompt. A **Mark for translation** button appears. ![The Hindi question after Question 1: selected in the prompt, with a Mark for translation button above it](https://mintcdn.com/bolna-54a2d4fe/uLjgCUpYuCgcg6UC/images/getting-started/agent-setup/single-prompt/mark-phrase.png?fit=max\&auto=format\&n=uLjgCUpYuCgcg6UC\&q=85\&s=4281bc0c2a4b72612d8e7f69cc249c82) Mark for translation on a selected phrase **2. Click Mark for translation** The phrase turns blue. The rest of the line stays shared text. ### Change or unmark a marked line To change a marked line later, click it and choose: * **View translations** to open the Translations panel. * **Unmark** to turn it back into shared text. You can also click the translate icon again. ![A marked Hindi question under Section 3: Application Confirmation with a menu showing View translations and Unmark](https://mintcdn.com/bolna-54a2d4fe/uLjgCUpYuCgcg6UC/images/getting-started/agent-setup/single-prompt/line-actions.png?fit=max\&auto=format\&n=uLjgCUpYuCgcg6UC\&q=85\&s=5b03d23aa9a01111fd45d4d743e49715) Actions on a marked line ### Edit a line's wording The **Translations** panel opens on the right of the Canvas. It shows one box per language for the selected line. The language you're viewing is labelled **Viewing**, and your default language is labelled **Default**. ![Canvas with marked Hindi lines in blue and the Translations panel on the right showing Hindi labelled Viewing and Default, English and Tamil boxes for the selected line](https://mintcdn.com/bolna-54a2d4fe/uLjgCUpYuCgcg6UC/images/getting-started/agent-setup/single-prompt/translations-panel.png?fit=max\&auto=format\&n=uLjgCUpYuCgcg6UC\&q=85\&s=d4c8f1b143ec2fb3da68bb5217414776) Translations panel for a marked line on a Hindi, English and Tamil agent **1. Edit the wording** Type or correct the wording in any language's box. **2. Click Save** **Save** stays disabled until you change something. To drop your changes, click **Discard** (or **Cancel** on a line you've just marked). **3. Click Save agent** The panel only saves wording into the Canvas; the agent isn't saved until you do this. If the agent has only one language, the panel tells you to add another before you can translate the line. *** ## Manage languages Languages appear as chips at the top of the Canvas. The default language has a crown, and the eye icon shows the one you're viewing. Click a chip to see the prompt in that language. Voice and transcription for each language are still set in the [Languages Tab](/docs/agent-setup/audio-tab). ![Language picker under the Canvas language chips with a Search languages box, Hindi under Selected languages marked Default, and English, Tamil, Telugu, Kannada and Malayalam under Available languages](https://mintcdn.com/bolna-54a2d4fe/uLjgCUpYuCgcg6UC/images/getting-started/agent-setup/single-prompt/language-dropdown.png?fit=max\&auto=format\&n=uLjgCUpYuCgcg6UC\&q=85\&s=88ebc1350881651b7faef39177ccac7a) Language picker opened from the + icon ### Add a language Click the **+** icon and pick a language from **Available languages**. What happens next depends on the agent: | Agent state | What happens | | - | - | | **Saved, with marked lines** | Bolna translates every marked line. A notification reads **Adding \** and changes to **\ added** when done, usually within a minute. If no wording comes back, the language is still added and you'll see **Translations are not ready**; fill in the wording from the Translations panel. | | **No lines marked** | A dialog asks you to choose **Mark lines first** or **Add language anyway**. | Marked lines that still have no wording in a language are highlighted, that language's chip shows an amber dot, and a banner tells you how many lines need wording. ![Canvas language chips Hindi with a crown, English and Tamil with amber dots, a + icon, and a banner reading 1 line has no English wording yet, highlighted below. Click a highlighted line to fill it in.](https://mintcdn.com/bolna-54a2d4fe/uLjgCUpYuCgcg6UC/images/getting-started/agent-setup/single-prompt/add-language.png?fit=max\&auto=format\&n=uLjgCUpYuCgcg6UC\&q=85\&s=1a5a92fc0b7d6ad994d9e6e179687c11) Hindi, English and Tamil chips with a line that still needs English wording ### Change the default language Open the language picker, hover over a language under **Selected languages** and click **Make default**. ### Remove a language In the same picker, hover over the language and click the remove icon. Removing a language deletes its wording for every marked line, along with its voice, speech recognition, handoff and related settings. You can't remove the default language; make another language the default first. *** ## Work with sections The prompt is split into collapsible sections. A new agent built from scratch starts with **Identity and Demeanour**, **Conversation Starter**, **Conversation Flow**, **Closing**, and **Frequently Asked Questions**. Each has placeholder text to replace with your own. ![Canvas with the Hindi language chip, AI Edit and Browse Modules buttons, a Mark any line for translation banner, and collapsible Identity and Demeanour, Conversation Starter, Conversation Flow and Closing sections with placeholder text](https://mintcdn.com/bolna-54a2d4fe/uLjgCUpYuCgcg6UC/images/getting-started/agent-setup/single-prompt/sections.png?fit=max\&auto=format\&n=uLjgCUpYuCgcg6UC\&q=85\&s=4bbba19eb12bf468781542129d149706) Canvas of a new agent with the default sections and their placeholder text * **Collapse or expand** a section with the chevron next to its heading. * **Add a section** with **+ Add Section** at the bottom of the Canvas, or type `#` in the prompt. * **Delete a section** with the delete icon on its heading. This removes the heading and everything under it. * **Go full screen** with the expand icon at the top right of the Canvas. Variables (`{{`), modules (`@`), **Browse Modules** and the token count work as described in the [Agent Tab](/docs/agent-setup/agent-tab). *** ## Use AI Edit [AI Edit](/docs/agent-setup/agent-tab#ai-edit) works on the shared prompt, so its changes apply to every language. When it edits a marked line, the suggestion can include that line's wording in your other languages. While AI Edit is open, you can switch the language you're viewing, but you can't add or remove languages or change the default. *** ## Next steps > [card] [Agent Tab](/docs/agent-setup/agent-tab) > > Welcome message, prompts, variables and hangup settings. > [card] [Multilingual agents](/docs/customizations/multilingual-languages-support) > > Supported languages and how multilingual agents work. > [card] [Language switching](/docs/customizations/language-switching-behavior) > > When the agent changes language during a call. > [card] [Import agents](/docs/agent-setup/copy-import-agent) > > Copy an agent into your account by agent ID. # Auto Build: Create a voice AI agent from a description Source: https://www.bolna.ai/docs/agent-setup/studio Go from a brief description to a production-grade, call-ready voice AI agent in 5 to 8 minutes — no prompt writing required. ## What Auto Build does Auto Build, in Agent Studio, turns a short description of your use case into a production-grade, call-ready voice AI agent — in 5 to 8 minutes. No prompt engineering, no guesswork. Just fill in a form and get a fully structured agent prompt, auto-selected voice, and a published version ready to make calls. *** ## How to use it In Agent Studio's **Your Agents** panel, click **New Agent** and choose **Auto Build**. The form has **3 steps**: **1. Step 1 — Identity & Goal** Tell the builder who the agent is and what the call is for. **2. Step 2 — Conversation** Define the welcome message, guardrails, and conversation flow. **3. Step 3 — Closing** Set the final line the agent says before hanging up. Once submitted, your agent is production-ready in **5 to 8 minutes**. You can navigate away — the agent will appear in your dashboard when ready. *** ## Step 1 — identity & goal There are two ways to provide context — and the more context you give, the better your agent will be. > [card] Upload a document > > Upload a PDF, DOCX, TXT, or CSV — a call script, SOP, FAQ sheet, or any business document. The builder reads it and pre-fills the fields automatically. > [card] Fill in manually > > Fill in the fields yourself. Be as detailed as possible — specific goals, flows, and guardrails produce a far better agent than vague inputs. > [!NOTE] > > You can also do both — upload a document **and** add extra details in the fields. More context always means a better agent. ### Fields | Field | Required | What to enter | | - | - | - | | **Agent Name** | ✅ | The name the agent introduces itself with. E.g. *Saanvi* | | **Industry** | ✅ | Select from the list or choose "Other" to type your own | | **Agent Designation** | ✅ | The agent's role. E.g. *Recruitment Specialist* | | **Company Name** | ✅ | The organization the agent represents | | **Company Description** | Optional | A short description of the company | | **Languages** | ✅ | One or more languages the agent should speak. Set one as Primary | | **Gender** | ✅ | Male or Female — used to auto-select the best matching voice | | **Tone** | ✅ | Pick one or more: *Warm & professional, Formal, Casual, Assertive, Empathetic* | | **What Should This Call Achieve?** | ✅ | The call goal in 1–2 sentences. E.g. *Screen candidates and book a technical interview if they qualify* | > [!TIP] > > Blended tones work well — e.g. **Warm & professional + Empathetic** for support calls, **Warm + Assertive** for collections. Avoid picking all of them. *** ## Step 2 — conversation | Field | Required | What to enter | | - | - | - | | **Agent Welcome Message** | ✅ | The first thing the agent says when the call connects. Use `{{variable_name}}` for dynamic values | | **Guardrails** | ✅ | Hard rules the agent must follow — topics to avoid, things it must never say, when to hand off to a human | | **Conversation Flow** | ✅ | The steps the agent follows in order. Numbered steps work best. E.g. *1. Greet → 2. Ask about experience → 3. Qualify* | > [!TIP] > > Click **"See default guardrails"** on the Guardrails field for a pre-filled set of sensible defaults you can copy and customize. *** ## Step 3 — closing | Field | Required | What to enter | | - | - | - | | **Closing Line** | ✅ | The last message the agent says before disconnecting. E.g. *Thanks for your time. We'll follow up by email.* | | **Hangup Prompt** | Optional | Toggle on to give the agent a custom instruction for when to end the call — useful for complex call flows | *** ## After generation Once the prompt is ready, it is automatically saved to your agent. You can: * **Review and edit** the prompt in the [Agent Tab](/docs/agent-setup/agent-tab) * **Adjust the voice** in the [Languages Tab](/docs/agent-setup/audio-tab) — a voice is auto-selected based on your language and gender settings * **Test the agent** from the **Test options** dropdown next to **Save agent** — chat, Web Call, or get a call from the agent *** ## Frequently asked questions > [accordion] How long does generation take? > > **5 to 8 minutes**. You can navigate away; the agent status updates automatically when it's done. > [accordion] Can I edit the generated prompt afterwards? > > Yes. The generated prompt is fully editable in the Agent tab. Agent Studio gives you a strong starting point you can fine-tune from there. > [accordion] What file types can I upload? > > PDF, DOCX, TXT, and CSV files are supported. Upload call scripts, SOPs, FAQ sheets, or any business document relevant to the agent's role. *** ## Next steps > [card] [Agent tab](/docs/agent-setup/agent-tab) > > Review and edit the generated prompt > [card] [Languages tab](/docs/agent-setup/audio-tab) > > Adjust the auto-selected voice if needed > [card] [Make a call](/docs/outbound/making-calls) > > Start making calls with your new agent > [card] [Tips & tricks](/docs/prompting/introduction) > > Best practices for prompting voice agents > [card] [Agent builder overview](/docs/agent-setup/overview) > > Tour Agent Studio and every configuration tab # Connect function tools and API integrations Source: https://www.bolna.ai/docs/agent-setup/tools-tab Add built-in function tools and custom API integrations to your Bolna Voice AI agent — calendar booking, call transfers, web search, and any external API. The Tools Tab is where you connect external tools and APIs that your agent's LLM can call during live conversations. This lets your agent take real-time actions like booking appointments, transferring calls, or fetching data from your own backend. ![Tools Tab in Agent Studio with a Function Tools for LLM Models card, an Add Tool section listing Calendar Availability, Book Appointment, Transfer Call and Web Search each with an Add button, and an Add a Custom Tool section with a Custom Function row offering Write manually or Generate from cURL](https://mintcdn.com/bolna-54a2d4fe/2pC8R6aWdvENq-qb/images/getting-started/agent-setup/tools-tab-overview.png?fit=max\&auto=format\&n=2pC8R6aWdvENq-qb\&q=85\&s=a63ec698f156fa565de0b613ff7a1517) Tools Tab with the built-in tools and the Custom Function section *** ## Built-in tools Bolna provides ready-to-use tools for common voice agent workflows. Click **+ Add** next to any tool to enable it for your agent. > [card] [Calendar availability](/docs/tool-calling/fetch-calendar-slots) > > Check open meeting slots from Cal.com in real-time during a call > [card] [Book appointment](/docs/tool-calling/book-calendar-slots) > > Create calendar bookings directly via Cal.com during the conversation > [card] [Transfer call](/docs/tool-calling/transfer-calls) > > Route the call to a human agent or another phone number — with an optional [pre-call webhook](/docs/tool-calling/transfer-calls#pre-call-webhook) > [card] [Web search](/docs/tool-calling/web-search) > > Look up current information on the web, such as news, prices and scores, during a call > [card] [Custom function](/docs/tool-calling/custom-function-calls) > > Connect any external API endpoint with a custom function schema *** ## Custom functions For integrations beyond the built-in tools, use **Custom Functions** to connect any API endpoint. You can create a custom function in two ways: ![Function Tools for LLM Models card with the Add Tool section above an Add a Custom Tool section, where the Custom Function row offers a Write manually button and a Generate from cURL button](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/tool-calling/custom-tool-section.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=e0e9fec7d255b5e34d65cfc77155c999) Function Tools card with the Add a Custom Tool section at the bottom ### Write manually Click **Write manually** to open a JSON editor where you define the function schema from scratch. This gives you full control over the function name, description, parameters, and API configuration. ![Your custom function configuration modal with a dark JSON editor showing name, description, pre\_call\_message, a parameters object with startTime and endTime, key set to custom\_task, and a value object with method GET, param, url, api\_token, headers, pre\_call\_webhook\_url and pre\_call\_webhook\_param, plus Cancel and Submit buttons](https://mintcdn.com/bolna-54a2d4fe/K8nkTcLHvQdEi_0R/images/tool-calling/custom-function-config.png?fit=max\&auto=format\&n=K8nkTcLHvQdEi_0R\&q=85\&s=a8974154d74c11bd8861c5679c5821bf) Your custom function configuration editor with the default schema > [!NOTE] > > The fields `name`, `description`, `key`, and `method` are mandatory. The `key` must always be set to `"custom_task"`. Do not change this value. ### Generate from cURL Click **Generate from cURL** to paste an existing cURL command. Bolna will parse the request and auto-generate a function schema that you can review and edit before adding it to your agent. ![Generate function from cURL modal with a text area containing a curl GET request to api.bolna.ai carrying an Authorization Bearer header, with Cancel and Generate function buttons](https://mintcdn.com/bolna-54a2d4fe/K8nkTcLHvQdEi_0R/images/tool-calling/curl-to-custom-function.png?fit=max\&auto=format\&n=K8nkTcLHvQdEi_0R\&q=85\&s=6c70848b4f9217bf710d739738673481) Generate function from cURL dialog with a pasted cURL command After clicking **Generate function**, Bolna parses the cURL and produces a ready-to-edit function configuration: ![Bolna generated custom function configuration showing name get\_agent, description Called when user asks to get agent details by agent ID, pre\_call\_message One moment while I fetch the details, parameters object, key custom\_task, value with method GET, url https://api.bolna.ai/v2/agent/agent\_id, api\_token, and headers](https://mintcdn.com/bolna-54a2d4fe/Vch3BdKvmDByoJ44/images/tool-calling/curl-generated-result.png?fit=max\&auto=format\&n=Vch3BdKvmDByoJ44\&q=85\&s=59e968597199064f79159ffc8ca89035) Generated custom function configuration from a cURL command, showing the parsed function with auto-populated name, description, method, URL, and authentication fields > [!TIP] > > The cURL import is a starting point. Always review the generated function name, description, and parameters before submitting. See the [Custom Functions guide](/docs/tool-calling/custom-function-calls#generate-from-curl) for a detailed walkthrough. ### Pre-call webhook (optional) Each custom tool also has two optional inputs to fire a [pre-call webhook](/docs/tool-calling/pre-call-webhooks) *before* the tool's main API call runs: * **Pre-call webhook URL** — the endpoint to notify. If left blank, the agent-level Webhook URL is used. * **Pre-call webhook parameters** — the JSON body template, with `%(field)s` substitution for the tool's arguments. Leaving this empty disables the pre-call webhook. Both save with the tool and round-trip on edit. > [!NOTE] > > The built-in [Transfer Call](/docs/tool-calling/transfer-calls#pre-call-webhook) tool supports the same pre-call webhook fields via a **Send a pre-call webhook before transfer** toggle in its configuration modal. *** ## Managing added tools Once you add a tool, it appears as a configurable card in the Tools Tab. | Action | How to do it | | - | - | | **Configure** | Click the tool card to edit its parameters and API connection | | **Delete** | Click the delete icon on the tool card to remove it | *** ## Next steps > [card] [Custom functions guide](/docs/tool-calling/custom-function-calls) > > Full schema reference, examples, and best practices > [card] [Transfer calls](/docs/tool-calling/transfer-calls) > > Set up call routing to human agents > [card] [Extractions tab](/docs/agent-setup/analytics-tab) > > Configure webhooks and post-call extractions > [card] [Context variables](/docs/prompting/using-context) > > Pass dynamic data into your function tools # Agents Library Source: https://www.bolna.ai/docs/agent-templates Browse and import pre-built Voice AI agent templates. Deploy production-ready agents for support, sales, scheduling, and more in minutes. ## What is the Agents Library? The Bolna Agents Library provides **ready-to-use Voice AI agent templates** that you can import and customize for your specific use case. Each template comes pre-configured with optimized prompts, workflows, and settings, allowing you to deploy production-ready agents in minutes. **1. Pick a template** Browse agents by industry below and click **Import this agent** to add it to your account. **2. Customize** Adjust the prompts, [context variables](/docs/prompting/using-context), and settings in the [Agent tab](/docs/agent-setup/agent-tab) to match your needs. **3. Test** Test using **Chat with agent** in Agent Studio or by [making test calls](/docs/outbound/making-calls). **4. Deploy** Go live for [inbound](/docs/inbound/receiving-calls) or [outbound](/docs/outbound/making-calls) calling. > [!TIP] > > Every agent below works in **English + Hindi** and can be imported with one click. *** ## Pre-built agent templates > [tab] E-Commerce > > > [card] Customer support agent > > > > Provides 24/7 inbound call answering for FAQs, order tracking, and customer triage. > > > > **Industry:** E-Commerce > > **Languages:** English + Hindi > > **Call to test:** [+918035317400](tel:+918035317400) > > > > [Import this agent →](https://platform.bolna.ai/a/4f0d937f-3d07-479b-9352-9f3271285d8a) > > > [card] Cart abandonment agent > > > > Calls customers with abandoned carts to recover lost sales through personalized outreach. > > > > **Industry:** E-Commerce > > **Languages:** English + Hindi > > **Call to test:** [+918035317449](tel:+918035317449) > > > > [Import this agent →](https://platform.bolna.ai/a/57ad261e-2bbc-4fb4-aefd-74b92ed1bed5) > > > [card] COD confirmation agent > > > > Handles last-mile logistics tasks like cash-on-delivery confirmation and delivery scheduling. > > > > **Industry:** E-Commerce > > **Languages:** English + Hindi > > **Call to test:** [+918035317450](tel:+918035317450) > > > > [Import this agent →](https://platform.bolna.ai/a/42a04bee-a4e9-442c-bf85-c6e6064ad976) > [tab] BFSI > > > [card] Announcements agent > > > > Keeps users engaged with feature upgrades, product launches, and important updates. > > > > **Industry:** BFSI\ > > **Languages:** English + Hindi > > **Call to test:** [+918035317403](tel:+918035317403) > > > > [Import this agent →](https://platform.bolna.ai/a/09344ad0-0991-440b-89ff-51ba4fe7d7b1) > > > [card] Reminders agent > > > > Automates reminders for EMIs, collections, form-filling deadlines, and payment follow-ups. > > > > **Industry:** BFSI\ > > **Languages:** English + Hindi > > **Call to test:** [+918035317402](tel:+918035317402) > > > > [Import this agent →](https://platform.bolna.ai/a/88bb2f3c-cfc0-4f3d-b0a2-6ac962ba9737) > > > [card] Sales - credit card agent > > > > Helps fintech companies sell credit cards through intelligent Hindi conversations. > > > > **Industry:** BFSI\ > > **Languages:** English > > > > [Import this agent →](https://platform.bolna.ai/a/68762ade-7e39-4b06-96e6-0d98863fbd0b) > > > [card] Sales - loans agent > > > > Helps fintech companies sell loans through intelligent Hindi conversations and financial expertise. > > > > **Industry:** BFSI\ > > **Languages:** English > > > > [Import this agent →](https://platform.bolna.ai/a/29780b7b-876e-40a6-96bd-069b8409dedb) > [tab] Hospitality > > > [card] Front desk agent > > > > Answers every call to handle clinic, hotel, and office scheduling automatically. > > > > **Industry:** Hospitality > > **Languages:** English + Hindi > > **Call to test:** [+918035317405](tel:+918035317405) > > > > [Import this agent →](https://platform.bolna.ai/a/98183718-4bb6-457f-8e0f-9c0fa322bbba) > > > [card] Surveys agent > > > > Conducts automated NPS, feedback, and product surveys with detailed personalized questioning. > > > > **Industry:** Hospitality > > **Languages:** English + Hindi > > **Call to test:** [+918035317408](tel:+918035317408) > > > > [Import this agent →](https://platform.bolna.ai/a/e3f31313-c28c-452e-9026-70edd7042691) > > > [card] Salon booking agent > > > > Schedules salon appointments and collects client information for beauty businesses. > > > > **Industry:** Hospitality > > **Languages:** English > > > > [Import this agent →](https://platform.bolna.ai/a/547e8f2d-d231-4fc6-a9f1-b90801d672b8) > [tab] Recruitment > > > [card] Recruitment agent > > > > Screens, interviews, and onboards candidates at scale with intelligent voice conversations. > > > > **Industry:** Recruitment > > **Languages:** English + Hindi > > **Call to test:** [+918035317441](tel:+918035317441) > > > > [Import this agent →](https://platform.bolna.ai/a/9a2faf53-00b8-4213-8f8c-cad6011d9f9b) > [tab] Ed Tech > > > [card] Lead qualification agent > > > > Calls every lead to ask qualifying questions, answer FAQs, and warmly introduce the business. > > > > **Industry:** Ed Tech > > **Languages:** English + Hindi > > **Call to test:** [+918035317443](tel:+918035317443) > > > > [Import this agent →](https://platform.bolna.ai/a/a8ff62ed-a86e-4881-80cd-5593d1391afb) > [tab] Health Tech > > > [card] Onboarding agent > > > > Conducts personalized guidance calls to warmly onboard users into health tech platforms. > > > > **Industry:** Health Tech > > **Languages:** English + Hindi > > **Call to test:** [+918035317448](tel:+918035317448) > > > > [Import this agent →](https://platform.bolna.ai/a/3f5b1997-17cc-4a14-9e02-a90ba0dfeb5c) > [tab] Real Estate > > > [card] Property tech agent > > > > Qualifies property leads (owner or broker) and collects detailed property information. > > > > **Industry:** Real Estate > > **Languages:** English > > > > [Import this agent →](https://platform.bolna.ai/a/d3dbc421-b964-4c12-8afa-e087e440cb3e) > > > [card] Weekend planner agent > > > > Helps users plan weekends and vacations with personalized travel and leisure recommendations. > > > > **Industry:** Real Estate > > **Languages:** English > > > > [Import this agent →](https://platform.bolna.ai/a/00b05a0f-d451-4afe-b55f-7e2a3fa4896d) *** ## Quick reference | Agent | Industry | Languages | Import | | - | - | - | - | | Customer Support | E-Commerce | English + Hindi | [Import →](https://platform.bolna.ai/a/4f0d937f-3d07-479b-9352-9f3271285d8a) | | Cart Abandonment | E-Commerce | English + Hindi | [Import →](https://platform.bolna.ai/a/57ad261e-2bbc-4fb4-aefd-74b92ed1bed5) | | COD Confirmation | E-Commerce | English + Hindi | [Import →](https://platform.bolna.ai/a/42a04bee-a4e9-442c-bf85-c6e6064ad976) | | Recruitment Agent | Recruitment | English + Hindi | [Import →](https://platform.bolna.ai/a/9a2faf53-00b8-4213-8f8c-cad6011d9f9b) | | Lead Qualification | Ed Tech | English + Hindi | [Import →](https://platform.bolna.ai/a/a8ff62ed-a86e-4881-80cd-5593d1391afb) | | Onboarding Agent | Health Tech | English + Hindi | [Import →](https://platform.bolna.ai/a/3f5b1997-17cc-4a14-9e02-a90ba0dfeb5c) | | Announcements Agent | BFSI | English + Hindi | [Import →](https://platform.bolna.ai/a/09344ad0-0991-440b-89ff-51ba4fe7d7b1) | | Reminders Agent | BFSI | English + Hindi | [Import →](https://platform.bolna.ai/a/88bb2f3c-cfc0-4f3d-b0a2-6ac962ba9737) | | Front Desk Agent | Hospitality | English + Hindi | [Import →](https://platform.bolna.ai/a/98183718-4bb6-457f-8e0f-9c0fa322bbba) | | Surveys Agent | Hospitality | English + Hindi | [Import →](https://platform.bolna.ai/a/e3f31313-c28c-452e-9026-70edd7042691) | | Salon Booking Agent | Hospitality | English | [Import →](https://platform.bolna.ai/a/547e8f2d-d231-4fc6-a9f1-b90801d672b8) | | Property Tech Agent | Real Estate | English | [Import →](https://platform.bolna.ai/a/d3dbc421-b964-4c12-8afa-e087e440cb3e) | | Weekend Planner | Real Estate | English | [Import →](https://platform.bolna.ai/a/00b05a0f-d451-4afe-b55f-7e2a3fa4896d) | | Sales - Credit Card | BFSI | English | [Import →](https://platform.bolna.ai/a/68762ade-7e39-4b06-96e6-0d98863fbd0b) | | Sales - Loans | BFSI | English | [Import →](https://platform.bolna.ai/a/29780b7b-876e-40a6-96bd-069b8409dedb) | *** ## Next steps > [card] [Create your own agent](/docs/agent-setup/overview) > > Build a custom agent from scratch > [card] [Import an agent](/docs/agent-setup/copy-import-agent) > > Import or duplicate existing agents > [card] [Agent Studio guide](/docs/agent-setup/overview) > > Configure prompts, voice, and tools # Announcements agent Source: https://www.bolna.ai/docs/agent-templates/announcements-agent Proactively calls a customer base to share product launches, feature updates, or urgent alerts, personalizing each message with recipient-specific context. Proactively calls your user base to share announcements, product updates, or important alerts — keeping customers informed without manual effort. | | | | - | - | | **Industry** | BFSI | | **Languages** | English + Hindi | | **Call to test** | [+918035317403](tel:+918035317403) | > [card] [Import announcements agent](https://platform.bolna.ai/a/09344ad0-0991-440b-89ff-51ba4fe7d7b1) > > Import to your Bolna dashboard and customize for your use case. ## Next steps * Run at scale with [batch calling](/docs/outbound/batch-calling) * Set [calling guardrails](/docs/outbound/calling-guardrails) to restrict call hours * Use [context variables](/docs/prompting/using-context) to personalize messages per recipient # Cart abandonment agent Source: https://www.bolna.ai/docs/agent-templates/cart-abandonment-agent Automatically calls customers who left items in their cart, re-engages them with a personalized offer, and guides them back to complete checkout. Automatically calls customers who left items in their cart, re-engages them with personalized offers, and drives them back to complete the purchase. | | | | - | - | | **Industry** | E-Commerce | | **Languages** | English + Hindi | | **Call to test** | [+918035317449](tel:+918035317449) | > [card] [Import cart abandonment agent](https://platform.bolna.ai/a/57ad261e-2bbc-4fb4-aefd-74b92ed1bed5) > > Import to your Bolna dashboard and customize for your use case. ## Next steps * Set up [batch calling](/docs/outbound/batch-calling) to run campaigns at scale * Use [context variables](/docs/prompting/using-context) to personalize each call with cart details * Track outcomes with [post-call analytics](/docs/post-call/polling-call-status-webhooks) # COD confirmation agent Source: https://www.bolna.ai/docs/agent-templates/cod-confirmation-agent Calls customers ahead of delivery to confirm cash-on-delivery orders, capture payment intent, and reschedule when needed, cutting failed deliveries and RTO. Calls customers before delivery to confirm orders, collect payment intent, and handle rescheduling — reducing failed deliveries and RTO. | | | | - | - | | **Industry** | E-Commerce | | **Languages** | English + Hindi | | **Call to test** | [+918035317450](tel:+918035317450) | > [card] [Import COD confirmation agent](https://platform.bolna.ai/a/42a04bee-a4e9-442c-bf85-c6e6064ad976) > > Import to your Bolna dashboard and customize for your use case. ## Next steps * Set up [batch calling](/docs/outbound/batch-calling) to process your order list daily * Use [context variables](/docs/prompting/using-context) to pass order ID, amount, and address * Extract confirmation status with [dispositions](/docs/prompting/using-extractions) # Customer support agent Source: https://www.bolna.ai/docs/agent-templates/customer-support-agent Answers inbound customer calls around the clock, resolving FAQs, tracking orders, triaging issues, and escalating unresolved cases to a human agent. Handles inbound customer calls around the clock — answers FAQs, tracks orders, triages issues, and escalates to human agents when needed. | | | | - | - | | **Industry** | E-Commerce | | **Languages** | English + Hindi | | **Call to test** | [+918035317400](tel:+918035317400) | > [card] [Import customer support agent](https://platform.bolna.ai/a/4f0d937f-3d07-479b-9352-9f3271285d8a) > > Import to your Bolna dashboard and customize for your use case. ## Next steps * Add your [knowledge base](/docs/knowledge-base) with FAQs and product info * Set up [call transfers](/docs/tool-calling/transfer-calls) for human escalation * Configure [inbound calling](/docs/inbound/receiving-calls) to go live # Dentist appointment agent Source: https://www.bolna.ai/docs/agent-templates/dentist-appointment-agent Acts as an AI receptionist for a dental clinic, handling inbound calls to schedule appointments, collect patient details, and manage cancellations. Handles inbound calls for your dental clinic — schedules appointments, collects patient details, answers procedure queries, and manages cancellations. | | | | - | - | | **Industry** | Hospitality | | **Languages** | English | > [card] [Import dentist appointment agent](https://platform.bolna.ai/a/49077539-c821-42d4-84cb-f3522bea3187) > > Import to your Bolna dashboard and customize for your use case. ## Next steps * Connect [Cal.com](/docs/tool-calling/book-calendar-slots) for live appointment booking * Set up [inbound calling](/docs/inbound/receiving-calls) on your clinic's number * Add treatment info and FAQs to your [knowledge base](/docs/knowledge-base) # Front desk agent Source: https://www.bolna.ai/docs/agent-templates/front-desk-agent A 24/7 voice AI receptionist that answers inbound calls, handles common questions, books appointments and routes calls for clinics, hotels and offices. Acts as a 24/7 virtual receptionist — picks up inbound calls, answers common questions, books appointments, and routes complex queries to the right person. | | | | - | - | | **Industry** | Hospitality | | **Languages** | English + Hindi | | **Call to test** | [+918035317405](tel:+918035317405) | > [card] [Import front desk agent](https://platform.bolna.ai/a/7c33502d-e8b1-4d21-9c41-db745416d802) > > Import to your Bolna dashboard and customize for your use case. ## Next steps * Connect a calendar with [Cal.com](/docs/tool-calling/book-calendar-slots) for live appointment booking * Set up [inbound calling](/docs/inbound/receiving-calls) on your business number * Add your [knowledge base](/docs/knowledge-base) with FAQs and policies # Lead qualification agent Source: https://www.bolna.ai/docs/agent-templates/lead-qualification-agent Calls inbound leads immediately after signup, runs a structured qualification conversation, answers FAQs, and routes high-intent prospects to sales. Reaches out to inbound leads immediately, runs a structured qualification conversation, and routes high-intent prospects to your sales team. | | | | - | - | | **Industry** | Ed Tech | | **Languages** | English + Hindi | | **Call to test** | [+918035317443](tel:+918035317443) | > [card] [Import lead qualification agent](https://platform.bolna.ai/a/a8ff62ed-a86e-4881-80cd-5593d1391afb) > > Import to your Bolna dashboard and customize for your use case. ## Next steps * Use [context variables](/docs/prompting/using-context) to pass lead source and interest area * Extract qualification score with [dispositions](/docs/prompting/using-extractions) * Route qualified leads via [call transfer](/docs/tool-calling/transfer-calls) # Onboarding agent Source: https://www.bolna.ai/docs/agent-templates/onboarding-agent Calls new users after sign-up to walk them through key product features, answer first-use questions, and confirm successful activation. Calls new users after sign-up to walk them through key features, answer first-use questions, and ensure they activate successfully. | | | | - | - | | **Industry** | Health Tech | | **Languages** | English + Hindi | | **Call to test** | [+918035317448](tel:+918035317448) | > [card] [Import onboarding agent](https://platform.bolna.ai/a/3f5b1997-17cc-4a14-9e02-a90ba0dfeb5c) > > Import to your Bolna dashboard and customize for your use case. ## Next steps * Use [context variables](/docs/prompting/using-context) to personalize with user name and plan * Add product guides to your [knowledge base](/docs/knowledge-base) * Track activation outcomes with [dispositions](/docs/prompting/using-extractions) # Property tech agent Source: https://www.bolna.ai/docs/agent-templates/property-tech-agent Calls property leads to identify whether each is an owner or broker, gathers key listing details, and scores the lead for sales follow-up. Calls property leads to determine if they are an owner or broker, collects key property details, and scores them for follow-up by your sales team. | | | | - | - | | **Industry** | Real Estate | | **Languages** | English | > [card] [Import property tech agent](https://platform.bolna.ai/a/d3dbc421-b964-4c12-8afa-e087e440cb3e) > > Import to your Bolna dashboard and customize for your use case. ## Next steps * Use [batch calling](/docs/outbound/batch-calling) to process your leads list * Extract property details with [dispositions](/docs/prompting/using-extractions) * Route qualified leads via [call transfer](/docs/tool-calling/transfer-calls) # Recruitment agent Source: https://www.bolna.ai/docs/agent-templates/recruitment-agent Calls job candidates to run structured screening interviews, assess qualifications, and shortlist applicants at scale in English and Hindi. Calls candidates to conduct structured screening interviews, assess qualifications, and shortlist — handling hundreds of applications simultaneously. | | | | - | - | | **Industry** | Recruitment | | **Languages** | English + Hindi | | **Call to test** | [+918035317441](tel:+918035317441) | > [card] [Import recruitment agent](https://platform.bolna.ai/a/9a2faf53-00b8-4213-8f8c-cad6011d9f9b) > > Import to your Bolna dashboard and customize for your use case. ## Next steps * Use [batch calling](/docs/outbound/batch-calling) to run screening campaigns from a candidate CSV * Extract scores and outcomes with [dispositions](/docs/prompting/using-extractions) * Set up [call transfers](/docs/tool-calling/transfer-calls) to connect shortlisted candidates to HR # Reminders agent Source: https://www.bolna.ai/docs/agent-templates/reminders-agent Places outbound calls to remind customers about EMI due dates, payment deadlines, and form-filling cutoffs, reducing defaults and no-shows for BFSI teams. Calls customers to remind them of upcoming EMIs, payment due dates, form-filling deadlines, and collections — reducing defaults and no-shows. | | | | - | - | | **Industry** | BFSI | | **Languages** | English + Hindi | | **Call to test** | [+918035317402](tel:+918035317402) | > [card] [Import reminders agent](https://platform.bolna.ai/a/88bb2f3c-cfc0-4f3d-b0a2-6ac962ba9737) > > Import to your Bolna dashboard and customize for your use case. ## Next steps * Schedule reminder campaigns with [batch calling](/docs/outbound/batch-calling) * Enable [auto-retry](/docs/outbound/auto-retry) for unanswered calls * Set [calling guardrails](/docs/outbound/calling-guardrails) to comply with TRAI/TCPA hours # Sales - credit card agent Source: https://www.bolna.ai/docs/agent-templates/sales-credit-card-agent Calls pre-qualified leads to pitch credit card products, handle objections, gauge interest, and hand off hot prospects to a human sales team. Calls pre-qualified leads to pitch credit card products, handle objections, collect interest signals, and hand off hot leads to your sales team. | | | | - | - | | **Industry** | BFSI | | **Languages** | English | > [card] [Import sales - credit card agent](https://platform.bolna.ai/a/68762ade-7e39-4b06-96e6-0d98863fbd0b) > > Import to your Bolna dashboard and customize for your use case. ## Next steps * Use [context variables](/docs/prompting/using-context) to pass lead details into the conversation * Set up [call transfers](/docs/tool-calling/transfer-calls) to route hot leads to human agents * Extract interest level with [dispositions](/docs/prompting/using-extractions) # Sales - loans agent Source: https://www.bolna.ai/docs/agent-templates/sales-loans-agent Calls pre-qualified leads to explain loan products, assess borrower eligibility, answer questions, and route interested prospects to a sales team. Calls pre-qualified leads to explain loan offerings, assess eligibility, answer questions, and route interested prospects to your sales team. | | | | - | - | | **Industry** | BFSI | | **Languages** | English | > [card] [Import sales - loans agent](https://platform.bolna.ai/a/29780b7b-876e-40a6-96bd-069b8409dedb) > > Import to your Bolna dashboard and customize for your use case. ## Next steps * Use [context variables](/docs/prompting/using-context) to pass lead profile and loan type * Set up [call transfers](/docs/tool-calling/transfer-calls) to hand off qualified leads * Extract intent and eligibility with [dispositions](/docs/prompting/using-extractions) # Salon booking agent Source: https://www.bolna.ai/docs/agent-templates/salon-booking-agent Answers inbound calls for a beauty salon, collects client details, checks slot availability, and books appointments without staff intervention. Answers calls for your salon, collects client details, checks slot availability, and books appointments — without any manual intervention. | | | | - | - | | **Industry** | Hospitality | | **Languages** | English | > [card] [Import salon booking agent](https://platform.bolna.ai/a/547e8f2d-d231-4fc6-a9f1-b90801d672b8) > > Import to your Bolna dashboard and customize for your use case. ## Next steps * Connect [Cal.com](/docs/tool-calling/book-calendar-slots) for real-time slot booking * Set up [inbound calling](/docs/inbound/receiving-calls) on your salon's number * Add services and pricing to your [knowledge base](/docs/knowledge-base) # Surveys agent Source: https://www.bolna.ai/docs/agent-templates/surveys-agent Places outbound calls after customer interactions to collect NPS scores, satisfaction ratings, and structured product feedback without manual follow-up. Calls customers after interactions to collect NPS scores, satisfaction ratings, and structured feedback — at scale, without manual follow-up. | | | | - | - | | **Industry** | Hospitality | | **Languages** | English + Hindi | | **Call to test** | [+918035317408](tel:+918035317408) | > [card] [Import surveys agent](https://platform.bolna.ai/a/e3f31313-c28c-452e-9026-70edd7042691) > > Import to your Bolna dashboard and customize for your use case. ## Next steps * Run surveys at scale with [batch calling](/docs/outbound/batch-calling) * Capture structured responses with [dispositions](/docs/prompting/using-extractions) * Send results to your CRM via [webhooks](/docs/post-call/polling-call-status-webhooks) # Weekend planner agent Source: https://www.bolna.ai/docs/agent-templates/weekend-planner-agent Holds a friendly conversation with users to learn their preferences and suggest activities or destinations for weekend trips and vacations. Engages users in a friendly planning conversation to understand preferences, suggest activities or destinations, and help them make weekend or travel plans. | | | | - | - | | **Industry** | Real Estate | | **Languages** | English | > [card] [Import weekend planner agent](https://platform.bolna.ai/a/00b05a0f-d451-4afe-b55f-7e2a3fa4896d) > > Import to your Bolna dashboard and customize for your use case. ## Next steps * Customize the prompt in the [Agent tab](/docs/agent-setup/agent-tab) for your specific offerings * Add destination and activity info to your [knowledge base](/docs/knowledge-base) * Connect booking tools via [custom functions](/docs/tool-calling/custom-function-calls) # AGENTS.md Source: https://www.bolna.ai/docs/agents-md AGENTS.md gives AI coding assistants the Bolna API gotchas that break generated code, like status codes, timestamp formats, and webhook IPs. [AGENTS.md](/docs/AGENTS.md) encodes the non-obvious facts and gotchas an AI coding assistant needs to generate correct Bolna API code — the things most likely to produce broken code if missed. The [OpenAPI spec](/docs/api-reference/introduction) is the authoritative reference; AGENTS.md surfaces what it's easy to miss. ## Highlights > [accordion] Base URL and authentication > > ``` > Base URL: https://api.bolna.ai > Auth: Authorization: Bearer > ``` > > A missing or invalid key returns `401 Access denied`. > [accordion] POST /v2/agent and POST /batches return 201, not 200 > > Both return `201 Created`. The agent-create response field is `state`, not `status`. The legacy v1 `/agent` endpoint returns `200` — only v2 returns `201`. > [accordion] scheduled\_at must use +00:00, not Z > > A trailing `Z` for UTC is rejected with a `500` error. Use a numeric offset instead, e.g. `2026-06-23T15:30:00+00:00`. Scheduling must also be at least 2 minutes in the future, and Bolna rounds up to the next 10-minute mark. > [accordion] Wait for completed, not call-disconnected > > `call-disconnected` fires the instant the line drops — at that moment `conversation_duration`, `total_cost`, `recording_url`, and `extracted_data` are still null or 0. The `completed` event arrives a few seconds later with all fields populated. > [accordion] toolchain.pipelines is an array of arrays > > Not an array of strings. Correct shape: `"pipelines": [["transcriber", "llm", "synthesizer"]]`. > [accordion] GET /batches/\{batch\_id}/executions returns a bare array > > Not wrapped in `{ "data": [...] }` — the response is the array directly. > [accordion] Webhook source IP > > Bolna sends webhooks from `13.203.39.153`, `13.126.9.249` and `13.202.133.53`. Whitelist all three or events will be dropped. ## What else is in the file * The full execution status lifecycle (`queued → initiated → ringing → in-progress → call-disconnected → completed`, plus terminal states) * The batch status lifecycle * A minimal working agent creation body * A key endpoint summary table Read the complete file at [/AGENTS.md](/docs/AGENTS.md). # Deploy your voice agent Source: https://www.bolna.ai/docs/agents/deploy Put a Bolna Voice AI agent in front of callers: get phone numbers, place outbound and batch calls, answer inbound calls, connect telephony, or embed web calls. Once your agent is configured, choose how people reach it. Most teams start with a Bolna phone number and outbound calls, then add inbound calling, batch campaigns, or their own telephony as they scale. ## Get a phone number > [card] [Buy a number](/docs/buying-phone-numbers) > > Purchase a US or Indian number from the dashboard and attach it to an agent. > [card] [140 & 160-series](/docs/obtaining-regulated-phone-numbers) > > Get regulated series numbers for promotional and transactional calling in India. > [card] [Truecaller verification](/docs/truecaller-verification) > > Show your business name and logo to the people you call. Before buying numbers on Bolna, submit a one-time [compliance application](/docs/compliance-application/introduction). See the documents required and [how to submit them](/docs/compliance-application/how-to-submit-guide). ## Make and receive calls > [card] [Outbound calls](/docs/outbound/making-calls) > > Place a single call from the dashboard or `POST /call`. > [card] [Batch calls](/docs/outbound/batch-calling) > > Upload a CSV and schedule a calling campaign. > [card] [Workflows (beta)](/docs/workflows/introduction) > > Run multi-step sequences such as call, retry, then follow up on WhatsApp, over a contact list as a campaign. > [card] [Inbound calls](/docs/inbound/receiving-calls) > > Link a number to an agent so it answers every incoming call. > [card] [Web calls](/docs/developer-resources/sdks/web-call) > > Let users talk to your agent from the browser over WebRTC. See the [starter templates](/docs/developer-resources/sdks/web-call-templates) and [SDK reference](/docs/developer-resources/sdks/web-call-api). New to calling? Follow the [inbound quickstart](/docs/quickstarts/inbound) or the [batch calling API quickstart](/docs/quickstarts/batch). Inbound agents can also [route callers through an IVR](/docs/inbound/ivr), [identify callers](/docs/customizations/identify-incoming-callers) and [block unwanted numbers](/docs/customizations/block-incoming-callers). Keep campaigns healthy with [auto-retry](/docs/outbound/auto-retry) for calls that did not connect and [calling guardrails](/docs/outbound/calling-guardrails) to restrict calls to allowed hours. During a call you can [hang up programmatically](/docs/outbound/hangup-calls) or collect [keypad input](/docs/inbound/dtmf). ## Connect your own telephony Use your existing carrier account instead of a Bolna number. See [telephony setup](/docs/supported-telephony-providers) to compare the options. > [card] [Twilio](/docs/twilio) > > Connect your Twilio account. > [card] [Plivo](/docs/plivo) > > Connect your Plivo account. > [card] [Exotel](/docs/exotel) > > Connect your Exotel account. > [card] [Vobiz](/docs/vobiz) > > Connect your Vobiz account. > [card] [SIP trunk](/docs/sip-trunking/overview) > > Bring your own SIP carrier. For a SIP trunk, start with [Connect your carrier](/docs/sip-trunking/connect-carrier), then [assign an agent to a number](/docs/sip-trunking/inbound-calls) or [place outbound calls](/docs/sip-trunking/outbound-calls) on it. ## Before you go live Work through the [launch checklist](/docs/production/readiness-checklist) and [test your agent](/docs/production/test-before-calling-customers) before it calls real customers. # Monitor your voice agent Source: https://www.bolna.ai/docs/agents/monitor See what happened on every Bolna Voice AI call: call history, webhooks, the executions API, extractions, call and hangup statuses, and latency metrics. Every call your agent handles produces an **execution** — a record with the transcript, recording, cost, duration, status and any data extracted from the conversation. Read it in the dashboard, receive it on your server, or pull it over the API. > [card] [Call history](/docs/agent-setup/call-history) > > Review conversations, recordings, metrics and logs in the dashboard. > [card] [Webhooks](/docs/post-call/polling-call-status-webhooks) > > Receive call status updates on your server as they happen. > [card] [Webhook delivery health](/docs/post-call/webhook-delivery-health) > > See how many webhook deliveries reached your server, and download the ones that failed. > [card] [Execution payload](/docs/post-call/execution-payload) > > What every field in a call record means: status, transcript, extracted data, cost, usage and latency. > [card] [Executions API](/docs/fetch-agent-executions) > > Fetch one call or every call for an agent over the API. > [card] [Extractions](/docs/prompting/using-extractions) > > Turn each conversation into structured fields you can act on. [Test them](/docs/prompting/testing-extractions) and read the [output format](/docs/prompting/extraction-output). > [card] [Call analytics](/docs/agent-setup/call-analytics) > > See how many calls complete, how many become conversations, and the best day and hour to call. > [card] [Latency](/docs/concepts/latency) > > Understand what drives response time and what you can tune. > [!WARNING] > > Wait for the `completed` status before reading cost, duration, recording or extracted data. At `call-disconnected` those fields are still empty. ## Reference | Page | Use it to | | - | - | | [Call statuses](/docs/post-call/list-phone-call-status) | Understand each state a call moves through | | [Hangup statuses](/docs/post-call/list-phone-call-hangup-status) | Find out why and by whom a call was ended | | [Latency metrics](/docs/concepts/call-latencies) | Break down where response time is spent on a call | Workflow runs report separately through the [workflow execution webhook](/docs/workflows/execution-webhook). When something looks wrong, start with [troubleshooting](/docs/troubleshooting/calls-fail-or-drop-early). # Voice agents: build, deploy and monitor Source: https://www.bolna.ai/docs/agents/overview Learn how to build, deploy, and monitor Bolna Voice AI agents that hold natural phone and web conversations in 20+ languages. A Bolna voice agent listens to a caller, decides what to say, and answers in a natural voice — on inbound calls, outbound calls, batch campaigns, or in the browser. Every agent follows the same lifecycle: **build** it, **deploy** it to a phone number or app, then **monitor** what happens on each call. When it works in testing, **go live** with the launch checklist. > [card] [Build](/docs/agent-setup/overview) > > Set the prompt, LLM, voice, languages, tools and knowledge base in Agent Studio, or design a multi-step flow with graph agents. > [card] [Deploy](/docs/agents/deploy) > > Buy or connect phone numbers, place outbound, batch and workflow calls, receive inbound calls, or bring your own SIP trunk. > [card] [Monitor](/docs/agents/monitor) > > Review call history, receive webhooks, pull executions over the API, and extract structured data from every call. > [card] [Go live](/docs/production/readiness-checklist) > > Test before calling real customers, control cost per call, handle failures at scale, and troubleshoot common problems. ## Featured > [card] [Graph agents](/docs/graph-agent/introduction) > > Part of **Build**. Design a multi-step conversation as typed nodes and routing rules instead of one long prompt. > [card] [Workflows (beta)](/docs/workflows/introduction) > > Part of **Deploy**. Chain calls, WhatsApp messages, conditions and retries into one sequence per contact, and run it over contact lists as campaigns. Not sure which one you need? See [graph agents vs workflows](/docs/graph-agent/graph-agents-vs-workflows). ## Build your first agent > [card] [Quickstart](/docs/agent-setup/studio) > > Describe your use case and get a call-ready agent from Agent Studio in 5 to 8 minutes. > [card] [API quickstart](/docs/quickstarts/api) > > Place an outbound call and fetch the result over the API. > [card] [Inbound quickstart](/docs/quickstarts/inbound) > > Link a phone number to an agent and answer incoming calls. > [card] [Browse templates](/docs/agent-templates) > > Start from a ready-made agent for support, sales, reminders, bookings and more. ## Platform capabilities ### Build | Capability | What it does | | - | - | | [Prompting](/docs/prompting/introduction) | Write the agent's instructions and personalize them per call with [dynamic variables](/docs/prompting/using-context) | | [LLM](/docs/agent-setup/llm-tab) | Pick the model that reasons for your agent, or [bring your own](/docs/custom-llm-inference) | | [Voices](/docs/agent-setup/audio-tab) | Choose the voice for each language, or [clone](/docs/clone-voices) and [import](/docs/import-voices) your own | | [Languages & transcription](/docs/customizations/multilingual-languages-support) | Switch languages mid-call, write [prompts in other languages](/docs/writing-prompts-in-non-english-languages), and improve recognition with [keywords](/docs/customizations/asr-keywords-and-context) | | [Engine](/docs/agent-setup/engine-tab) | Tune response latency and how the agent handles interruptions | | [Knowledge base](/docs/knowledge-base) | Ground answers in your PDFs and URLs | | [Tools](/docs/tool-calling/introduction) | Transfer calls, book calendar slots, and call your own APIs mid-conversation | | [Graph agents](/docs/graph-agent/introduction) | Design multi-step conversations with typed nodes and routing | | [Templates](/docs/agent-templates) | Start from a ready-made agent for your industry | ### Deploy | Capability | What it does | | - | - | | [Phone numbers](/docs/buying-phone-numbers) | Buy numbers from Bolna, including [140 & 160-series numbers](/docs/obtaining-regulated-phone-numbers) in India | | [Outbound calls](/docs/outbound/making-calls) | Call one person, or thousands with [batch calls](/docs/outbound/batch-calling), [auto-retry](/docs/outbound/auto-retry) and [calling guardrails](/docs/outbound/calling-guardrails) | | [Workflows](/docs/workflows/introduction) (beta) | Chain calls, conditions, retries and WhatsApp messages into one sequence per contact, run them as [campaigns](/docs/workflows/campaigns), and get a [webhook](/docs/workflows/execution-webhook) when each finishes | | [Inbound calls](/docs/inbound/receiving-calls) | Answer calls, [identify callers](/docs/customizations/identify-incoming-callers) and route them through an [IVR](/docs/inbound/ivr) | | [Telephony](/docs/supported-telephony-providers) | Connect Twilio, Plivo, Exotel or Vobiz, or [bring your own SIP trunk](/docs/sip-trunking/overview) | | [Web calls](/docs/developer-resources/sdks/web-call) | Talk to your agent from the browser with the Web Call SDK | ### Monitor | Capability | What it does | | - | - | | [Call history](/docs/agent-setup/call-history) | Listen to recordings and read transcripts, costs and latency for every call | | [Call analytics](/docs/agent-setup/call-analytics) | See how many calls complete and become conversations, and the best time to call | | [Latency](/docs/concepts/latency) | Understand and [measure](/docs/concepts/call-latencies) where response time goes | | [Webhooks](/docs/post-call/polling-call-status-webhooks) | Receive call updates on your server as they happen | | [Extractions](/docs/prompting/using-extractions) | Pull structured data such as outcomes, dates and intents out of each conversation | | [Call statuses](/docs/post-call/list-phone-call-status) | Understand every state a call moves through and why it ended | ### Go live | Capability | What it does | | - | - | | [Launch checklist](/docs/production/readiness-checklist) | Verify telephony, compliance, quality, observability, concurrency and cost before real calls | | [Test before calling customers](/docs/production/test-before-calling-customers) | Check your agent end to end before it reaches real people | | [Control cost per call](/docs/production/control-cost-per-call) | Reduce spend without hurting quality | | [Failures & retries at scale](/docs/production/failures-and-retries-at-scale) | Classify failures, set retry policy and monitor large campaigns | | [Troubleshooting](/docs/troubleshooting/calls-fail-or-drop-early) | Fix dropped calls, audio problems, interruptions, failed transfers and missing webhooks | ## How a call works A standard agent chains three services: a **transcriber** turns the caller's audio into text, an **LLM** decides what to say, and a **synthesizer** turns the reply back into audio. A [speech-to-speech](/docs/speech-to-speech) agent replaces all three with a single realtime model. See [how a call flows through Bolna](/docs/concepts/call-flow) for the full lifecycle, from dialing to the finished execution record. # Anthropic Claude models for Bolna voice agents Source: https://www.bolna.ai/docs/anthropic Reference for configuring Anthropic Claude models in a Bolna voice agent: Claude Sonnet 5, Opus 4.8, and Haiku 4.5, with JSON config and model guidance. [Anthropic's](https://www.anthropic.com/) Claude models are known for precise instruction following and strong reasoning. `claude-sonnet-5` is the recommended production choice — best speed-to-quality ratio. `claude-haiku-4-5-20251001` is the fastest and most cost-efficient option for high-volume agents. *** ## Quick config ```json theme={"system"} "llm_agent": { "agent_type": "simple_llm_agent", "agent_flow_type": "streaming", "llm_config": { "provider": "anthropic", "model": "claude-sonnet-5", "max_tokens": 150, "temperature": 0.2 } } ``` To use your own Anthropic API key, connect it at [platform.bolna.ai/auth/anthropic](https://platform.bolna.ai/auth/anthropic). *** ## Supported models | Model | Context | Best for | Notes | | - | - | - | - | | `claude-fable-5` | 1M tokens | Most complex reasoning, long-horizon tasks | Flagship; highest capability and cost | | `claude-opus-4-8` | 1M tokens | Complex reasoning, agentic workflows | High capability; slower than Sonnet | | `claude-sonnet-5` | 1M tokens | Most production voice agents | **Recommended** — best speed/quality balance | | `claude-haiku-4-5-20251001` | 200K tokens | High-volume, cost-sensitive agents | Fastest TTFT; lowest cost | **Recommendation:** Start with `claude-sonnet-5`. Drop to `claude-haiku-4-5-20251001` if you need lower latency or cost at scale. Upgrade to `claude-opus-4-8` for complex multi-step reasoning or sensitive domains. *** ## Key settings | Setting | Type | Recommended | Description | | - | - | - | - | | `provider` | string | `"anthropic"` | Provider name | | `model` | string | `"claude-sonnet-5"` | Model to use | | `max_tokens` | integer | `150` | Cap on response length — keep short for voice | | `temperature` | float | `0.2` | Lower = more deterministic; good for scripts | | `agent_flow_type` | string | `"streaming"` | Always `"streaming"` for voice | *** ## Writing prompts for voice Claude follows instructions very precisely — avoid vague phrasing. * **Be explicit about format**: "Respond in 1–2 sentences maximum. Never use bullet points." * **Define your scope**: "Only discuss topics related to appointment scheduling." * **Set the persona clearly**: "You are a friendly receptionist for Acme Clinic. Your name is Priya." See [Prompting Guide](/docs/prompting/introduction) for full guidance. *** ## Function calling All current Claude models support function calling. Functions are defined in the [Tools Tab](/docs/agent-setup/tools-tab) and called automatically during conversation. See [Custom Function Calls](/docs/tool-calling/custom-function-calls) for configuration. *** ## FAQ > [accordion] Which Claude model should I use for voice? > > `claude-sonnet-5` for most agents — strong instruction following at low latency. Use `claude-haiku-4-5-20251001` when cost or speed is the primary constraint. Use `claude-opus-4-8` or `claude-fable-5` only for the most complex reasoning tasks. > [accordion] Why is temperature 0.2 recommended? > > Lower temperature makes the model more consistent and predictable — important for scripted outbound calls. For more conversational or discovery-type agents, 0.5–0.7 is fine. > [accordion] How do I reduce latency? > > Use `claude-haiku-4-5-20251001` (significantly faster than Sonnet), keep `max_tokens` low (150 is a good ceiling), and write concise system prompts. See [Latency](/docs/concepts/latency) for a full breakdown. > [accordion] Can I use my own Anthropic API key? > > Yes. Connect your Anthropic account at [platform.bolna.ai/auth/anthropic](https://platform.bolna.ai/auth/anthropic). LLM costs will be charged to your Anthropic account. *** ## Related * [Intelligence Tab](/docs/agent-setup/llm-tab) — configure LLM in the dashboard * [OpenAI](/docs/openai-llm) — GPT-5 family alternative * [OpenRouter](/docs/openrouter) — access Claude via unified gateway * [Prompting Guide](/docs/prompting/introduction) — write effective prompts for voice * [Custom Function Calls](/docs/tool-calling/custom-function-calls) — add tools to your agent # Create voice AI agent API (deprecated) Source: https://www.bolna.ai/docs/api-reference/agent/create POST /agent Deprecated v1 endpoint to create a Bolna voice AI agent. New integrations should use the v2 Create agent API, which replaces this endpoint. > [!WARNING] > > These APIs have now been deprecated. > > Please use the latest [**v2 APIs**](/docs/api-reference/agent/v2/overview). # Retrieve voice AI agent details API (deprecated) Source: https://www.bolna.ai/docs/api-reference/agent/get GET /agent/{agent_id} Deprecated v1 endpoint to retrieve a Bolna voice AI agent. New integrations should use the v2 Get agent API, which replaces this endpoint. > [!WARNING] > > These APIs have now been deprecated. > > Please use the latest [**v2 APIs**](/docs/api-reference/agent/v2/overview). # List all voice AI agents API (deprecated) Source: https://www.bolna.ai/docs/api-reference/agent/get_all GET /agent/all Deprecated v1 endpoint to list all your Bolna voice AI agents. New integrations should use the v2 List all agents API, which replaces it. > [!WARNING] > > These APIs have now been deprecated. > > Please use the latest [**v2 APIs**](/docs/api-reference/agent/v2/overview). # Get all agent executions API (v1, deprecated) Source: https://www.bolna.ai/docs/api-reference/agent/get_all_agent_executions GET /agent/{agent_id}/executions Deprecated v1 endpoint to list executions for an agent. New integrations should use the v2 agent executions API. # Bolna voice AI agent APIs overview (deprecated) Source: https://www.bolna.ai/docs/api-reference/agent/overview Deprecated v1 agent APIs and the agent object attributes. Use the v2 agent APIs to create, read, update and list Bolna voice AI agents. > [!WARNING] > > These APIs have now been deprecated. > > Please use the latest [**v2 APIs**](/docs/api-reference/agent/v2/overview). ## Endpoints ``` POST /agent GET /agent/:agent_id PUT /agent/:agent_id PATCH /agent/:agent_id GET /agent/all ``` ## Agent object attributes ### `agent_config` * `agent_name` *string* **(required)**\ Name of the agent * `agent_welcome_message` *string* **(required)**\ Initial agent welcome message. You can pass dynamic values here using variables enclosed within `{}` * `webhook_url` *string* **(required)**\ Get real-time details of the call progress and call data on a webhook. All supported events are listed in [Poll call data using webhooks](/docs/post-call/polling-call-status-webhooks) * `tasks` *array* **(required)**\ Definitions and configuration for the agentic tasks ### `agent_prompts` Prompts to be provided to the agent. # Patch update to voice AI agent API (deprecated) Source: https://www.bolna.ai/docs/api-reference/agent/patch_update PATCH /agent/{agent_id} Deprecated v1 endpoint to partially update an agent. New integrations should use the v2 Patch update agent API. > [!WARNING] > > These APIs have now been deprecated. > > Please use the latest [**v2 APIs**](/docs/api-reference/agent/v2/overview). # Update voice AI agent API (deprecated) Source: https://www.bolna.ai/docs/api-reference/agent/update PUT /agent/{agent_id} Deprecated v1 endpoint to replace an agent configuration. New integrations should use the v2 Update agent API. > [!WARNING] > > These APIs have now been deprecated. > > Please use the latest [**v2 APIs**](/docs/api-reference/agent/v2/overview). # Create voice AI agent API Source: https://www.bolna.ai/docs/api-reference/agent/v2/create POST /v2/agent Learn how to create new agents with Bolna APIs, enabling customized tasks, prompts, and configurations for Bolna voice AI agents. Creates a new voice AI agent. Returns HTTP **201** with `{ "agent_id": "...", "state": "created", "version_id": "..." }`. > [!TIP] > > The quickest path is creating an agent in the [dashboard](https://platform.bolna.ai) (Auto Build) and copying its ID. Use the API when you need to programmatically provision agents at scale or integrate agent creation into your deployment pipeline. ## Minimal example The smallest body that produces a working English conversation agent: ```json Minimal request body theme={"system"} { "agent_config": { "agent_name": "My First Agent", "agent_welcome_message": "Hi! How can I help you today?", "tasks": [{ "task_type": "conversation", "toolchain": { "execution": "sequential", "pipelines": [["transcriber", "llm", "synthesizer"]] }, "tools_config": { "llm_agent": { "agent_type": "simple_llm_agent", "agent_flow_type": "streaming", "llm_config": { "provider": "openai", "model": "gpt-5.4-mini", "max_tokens": 150, "temperature": 1 } }, "synthesizer": { "provider": "elevenlabs", "provider_config": { "voice": "Angelica", "voice_id": "IkSv4tkouLJ6kYsQA7XD", "model": "eleven_turbo_v2_5" }, "stream": true, "buffer_size": 250, "audio_format": "wav" }, "transcriber": { "provider": "deepgram", "model": "nova-3", "language": "en", "stream": true, "encoding": "linear16", "sampling_rate": 16000, "endpointing": 250 }, "input": { "provider": "plivo", "format": "wav" }, "output": { "provider": "plivo", "format": "wav" } }, "task_config": { "call_terminate": 90, "hangup_after_silence": 10 } }] }, "agent_prompts": { "task_1": { "system_prompt": "You are a helpful assistant. Keep replies short and friendly." } } } ``` ```json 201 Response theme={"system"} { "agent_id": "123e4567-e89b-12d3-a456-426655440000", "state": "created" } ``` ## Agent type Set on `tools_config.llm_agent.agent_type`. Creation accepts only the four values below — anything else is rejected. | `agent_type` | Use | | - | - | | `simple_llm_agent` | Default. One LLM answers from the system prompt. The minimal example above uses this. | | `knowledgebase_agent` | Same as a simple agent, plus retrieval over uploaded knowledge bases. See [Knowledge bases](/docs/knowledge-base). | | `graph_agent` | Node-based flow, with its own prompt and routing on each node. See [Graph agents](/docs/graph-agent/introduction). | | `realtime_agent` | A realtime speech-to-speech model replaces the transcriber, LLM, and synthesizer. See [Speech-to-speech](/docs/speech-to-speech). | `agent_flow_type` stays `"streaming"` for every type. ## Supported providers `tools_config` wires four pluggable components. The `provider` value on the transcriber, synthesizer and input/output blocks is validated at creation time. Anything outside the lists below is rejected with `400 Invalid value for provider:'' provided`. ### LLM Set on `tools_config.llm_agent.llm_config.provider`. | `provider` | Recommended model | Notes | | - | - | - | | [`openai`](/docs/openai-llm) | `gpt-5.4-mini` | Default. GPT-5 models require `"temperature": 1` | | [`azure-openai`](/docs/azure-openai) | `azure/` | `azure` is an alias. The prefix is optional. Needs `AZURE_OPENAI_*` keys in [Settings → Integrations](/docs/providers) | | [`anthropic`](/docs/anthropic) | `claude-sonnet-5` | | | [`google`](/docs/gemini-llm) | `gemini-2.5-flash` | | | [`deepseek`](/docs/deepseek) | `deepseek-v4-flash` | | | [`sarvam`](/docs/sarvam-llm) | `sarvam-105b-conversations` | 32K context | | [`bedrock`](/docs/bedrock-llm) | `bedrock/gpt-5.6-luna` | Runs in India on Bolna's AWS account. Requires `"temperature": 1` | | [`openrouter`](/docs/openrouter) | `vendor/model` slug | One key, many vendors, e.g. `openai/gpt-4o-mini` | | [`custom`](/docs/custom-llm-inference) | Your own model id | Any OpenAI-compatible endpoint. Needs `base_url` and `family` | OpenAI also accepts `gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-5.6-luna`, `gpt-5.5`, `gpt-5.4`, `gpt-4.1`, `gpt-4.1-mini` and `gpt-4o`; Anthropic `claude-opus-4-8`, `claude-haiku-4-5-20251001` and `claude-fable-5`; Google `gemini-3.7-flash`, `gemini-3.5-flash`, `gemini-3.1-pro`, `gemini-3.1-flash-lite`, `gemini-2.5-pro` and `gemini-2.5-flash-lite`; DeepSeek `deepseek-v4-pro`. Each provider page carries that provider's full model list. Ten more are accepted and routed through LiteLLM using that vendor's own model ids, without a dedicated reference page: `groq`, `cohere`, `together`, `fireworks`, `deepinfra`, `perplexity`, `anyscale`, `ollama`, `vllm`, `ola`. > [!NOTE] > > The LLM `provider` is not checked against a fixed list at creation time, unlike the transcriber and > synthesizer. An unroutable provider or model is accepted by `POST /v2/agent` and only fails once a > call runs, so verify it against the table above. ### Transcriber Set on `tools_config.transcriber.provider`. | `provider` | Model | Best for | | - | - | - | | [`deepgram`](/docs/deepgram-transcriber) | `nova-3` | Lowest latency; reads `keywords` | | [`deepgram`](/docs/deepgram-flux) Flux | `flux-general-en` | Turn detection inside the model; fastest barge-in | | [`sarvam`](/docs/sarvam-transcriber) | `saaras:v4` | Indian languages; reads `context`, and `keywords` on `saaras:v4` | | [`openai`](/docs/openai-transcriber) | `gpt-realtime-whisper` | Built-in VAD; tune with `delay` and `noise_reduction` | | [`azure`](/docs/azure-transcriber) | `azure` | Enterprise Azure Speech, diarization | | [`elevenlabs`](/docs/elevenlabs-transcriber) | `scribe_v2_realtime` | Also reads `keywords`, capped at 50 | | [`assembly`](/docs/assemblyai) | `universal-3-6-pro` | 32 languages with code-switching; reads `keywords` and `context`. Note the value is not `assemblyai` | | [`gladia`](/docs/gladia) | `solaria-1` | 100+ languages, code-switching, sub-300 ms | | [`smallest`](/docs/smallest-transcriber) | `pulse` | Ultra-low latency | | [`soniox`](/docs/soniox) | `stt-rt-v5` | One model auto-detects and code-switches mid-sentence | | [`gemini`](/docs/gemini-transcriber) | `gemini-3.5-transcribe-live` | 8 kHz telephony and 16 kHz web audio | | `google` | `latest_long` | Google Cloud Speech-to-Text | Deepgram also accepts `nova-3-medical`, `nova-2`, `nova-2-phonecall` and `nova-2-conversationalai`; Flux also accepts `flux-general-multi`; Sarvam also accepts `saaras:v3` and the legacy `saaras:v2.5` and `saarika:v2.5`, which Sarvam has deprecated; AssemblyAI also accepts `universal-3-5-pro`; Soniox also accepts `stt-rt-v6`, its newest real-time model. `model` and `language` are validated as a pair. An unsupported combination returns `400 Provided language: is not available for the model: `. > [!WARNING] > > `language` takes a plain ISO 639-1 code for every provider, including Sarvam: send `"language": "hi"`. > `"hi-IN"` is rejected, even though Sarvam's own API uses locale codes, because Bolna resolves them for you. > [!WARNING] > > **Keyword weights are not carried through.** `keywords` accepts the dashboard's `word:boost` form, but > the boost is stripped before storage: `"Bolna:100,Acme:50,Zeta"` is persisted as `"Bolna,Acme,Zeta"`. > The terms themselves still apply. Deepgram sends them as `keyterm` on `nova-3` and Flux and as > `keywords` on `nova-2` and earlier, and Sarvam reads them on `saaras:v4` only. See > [provider support](/docs/customizations/asr-keywords-and-context#provider-support) for every provider > that reads this field and its limits. ### Synthesizer Set on `tools_config.synthesizer.provider`. | `provider` | Model | Best for | | - | - | - | | [`elevenlabs`](/docs/elevenlabs-voice) | `eleven_turbo_v2_5` | Largest voice library, cloning | | [`cartesia`](/docs/cartesia) | `sonic-3.5` | Lowest time-to-first-audio | | [`sarvam`](/docs/sarvam-voice) | `bulbul:v4-flash` | Indian languages with lower first-audio latency than v3; `voice_id` is model-specific | | [`smallest`](/docs/smallest-voice) | `lightning_v3.1` | Ultra-low latency | | [`deepgram`](/docs/deepgram-voice) | `aura-2` | English conversational | | [`polly`](/docs/aws-polly) | `generative` | Cost-efficient, broad locales. Sent as `engine` | | [`azuretts`](/docs/azure-voice) | `neural` | Enterprise Azure voices. Note the value is not `azure` | | [`rime`](/docs/rime) | `mistv2` | Natural conversational prosody | | [`maya`](/docs/maya) | `Maya 2 Native` | Indic-first; one model covers every language | | [`kalpa`](/docs/kalpa) | `kalpa-tts-1` | Conversational English and Hindi | | [`navana`](/docs/navana) | `navana-tts` | Ten Indian languages; every voice speaks all of them | | [`soniox`](/docs/soniox-voice) | `tts-rt-v2` | Real-time voices with cloning, `speed` and `reduce_silence`; one key with the [Soniox transcriber](/docs/soniox) | | `openai` | `tts-1` | OpenAI's own voice names (`alloy`, …); not in the voice catalog | | `gemini` | none usable | No Gemini TTS model currently resolves | | [`custom`](/docs/custom-tts) | `custom` | Your own OpenAI-compatible TTS server; set `provider_config.voice` to a voice you registered | ElevenLabs also accepts `eleven_flash_v2_5`, `eleven_multilingual_v2`, `eleven_v3_conversational` and `eleven_v4_turbo`; Cartesia `sonic-3.6` and `sonic-3`; Sarvam `bulbul:v3` (all 11 Bulbul languages, including Malayalam and Odia); Smallest `lightning_v3.1_pro`; Polly `neural` and `standard`; Rime `arcana`; Kalpa `kalpa-tts-multilingual-beta-v0.1` and `kalpa-tts-beta-v0.1`; Navana `navana-tts-fast`. Resolve a valid `model` + `voice_id` pair with [List TTS providers](/docs/api-reference/voice/get_providers) and [List voices](/docs/api-reference/voice/get_all) before creating the agent. The voice catalog changes over time, and availability varies by language and by whether you have connected your own provider key. > [!WARNING] > > **`language` inside `provider_config` is required for most providers:** `cartesia`, `sarvam`, > `smallest`, `rime`, `azuretts`, `gemini`, `soniox`, `navana` and `polly`. Leaving it out fails with > `400 Tools Config > Voice > Language: This field is required`, even though the agent already has a > transcriber language. `elevenlabs`, `deepgram` and `openai` do not take it at all, and it is optional > on `maya` (defaults to `en`) and `kalpa`. ### Telephony Set on `tools_config.input.provider` and `tools_config.output.provider`. `twilio`, `plivo`, `exotel`, `vobiz`, `trunk` and `sip-trunk` are the telephony providers. `trunk` is the provider for [SIP trunks](/docs/sip-trunking/overview); `sip-trunk` is for Legacy SIP trunks (deprecated). Use `wav` as the `format` for twilio, plivo, exotel and vobiz, `linear16` for trunk, and `ulaw` for sip-trunk. Twilio and sip-trunk stream mulaw audio, the rest linear16. See [Supported telephony providers](/docs/supported-telephony-providers). The enum also accepts `freeswitch`, used for web calling (linear16, 16 kHz in / 24 kHz out), and `default` and `database`, which are internal. > [!TIP] > > To mix providers per language in one agent, for example Deepgram plus Cartesia for English and > ElevenLabs plus Sarvam for Hindi, use `multilingual_config`. See the > [Multilingual Config Reference](/docs/customizations/multilingual-config-reference). > [!NOTE] > > To replace the transcriber, LLM and synthesizer with a single realtime model, set `tools_config.s2s` > and leave the other three `null`. See [Speech-to-Speech](/docs/speech-to-speech). *** ## Common 400 errors | Message | Fix | | - | - | | `agent_config is required` | Wrap your config in `{ "agent_config": { ... } }` | | `tasks is required` | The `tasks` array must have at least one entry | | `toolchain.pipelines must be array of arrays` | Use `[["transcriber","llm","synthesizer"]]`, not `["transcriber","llm","synthesizer"]` | | `For GPT-5 models, temperature must be 1` | Send `"temperature": 1` explicitly. The field defaults to `0.1` when omitted | | `reasoning_effort '' is not supported for model ''` | Use an effort the model accepts — see the [per-model table](/docs/openai-llm#reasoning-effort) | | `Invalid value for provider:'' provided. Supported values: [...]` | Not a supported transcriber, synthesizer or input/output `provider`. See [Supported providers](#supported-providers) | | `Model '' is not available for provider ''` | Synthesizer `model` is wrong for that provider. Check [List TTS providers](/docs/api-reference/voice/get_providers) | | `Provided voice: is not available for the provider: ` | `voice` / `voice_id` not in that provider's catalog. Check [List voices](/docs/api-reference/voice/get_all) | | `Provided language: is not available for the model: ` | Transcriber `model` and `language` do not go together. See [Transcriber](#transcriber) | ## Next steps After creating an agent, place a call with `POST /call` using the returned `agent_id`. See the [API Quickstart](/docs/quickstarts/api) for a complete end-to-end example. # Delete voice AI agent API Source: https://www.bolna.ai/docs/api-reference/agent/v2/delete DELETE /v2/agent/{agent_id} Use Bolna APIs to delete agents and their related data, ensuring proper cleanup of batches, executions, and configurations. > [!WARNING] > > This deletes **ALL** agent data including all batches, all executions, etc. # Retrieve voice AI agent details API Source: https://www.bolna.ai/docs/api-reference/agent/v2/get GET /v2/agent/{agent_id} Retrieve a Bolna voice AI agent's details with the v2 API, including its configuration, status and tasks, using the agent ID. # Retrieve voice AI agent execution API Source: https://www.bolna.ai/docs/api-reference/agent/v2/get_agent_execution GET /agent/{agent_id}/execution/{execution_id} Fetch specific execution details of a Voice AI agent, including conversation times, statuses, and metrics, via Bolna APIs. # List all voice AI agents API Source: https://www.bolna.ai/docs/api-reference/agent/v2/get_all GET /v2/agent/all List all Voice AI agents under your account, along with their names, statuses, and creation dates, using Bolna APIs. # Get pronunciation status API Source: https://www.bolna.ai/docs/api-reference/agent/v2/get_pronunciation_status GET /v2/agent/{agent_id}/pronunciation-dictionary-status Check whether a Bolna voice agent's pronunciation word lists are applied to calls: active, pending or failed. After you save an agent with a pronunciation word list, the list takes a few seconds to be applied to calls. Call this endpoint to know when it's ready, for example before placing a test call. | `status` | Meaning | | - | - | | `active` | Every word list is applied to calls. | | `pending` | Being applied. This usually takes a few seconds after a save. | | `failed` | Couldn't be applied. Save the agent again. | | `null` | The agent has no word list on a voice that supports one. | See [Pronunciation](/docs/customizations/pronunciation) for how to set word lists. # Bolna voice AI agent APIs overview Source: https://www.bolna.ai/docs/api-reference/agent/v2/overview Explore Bolna Voice AI Agent APIs overview, featuring endpoints for creating, managing, and executing autonomous voice agents. ## Endpoints ``` POST /v2/agent GET /v2/agent/:agent_id PUT /v2/agent/:agent_id PATCH /v2/agent/:agent_id DELETE /v2/agent/:agent_id GET /v2/agent/all POST /v2/agent/:agent_id/stop GET /v2/agent/:agent_id/pronunciation-dictionary-status GET /v2/agent/:agent_id/versions POST /v2/agent/:agent_id/versions GET /v2/agent/:agent_id/versions/:agent_version_id PUT /v2/agent/:agent_id/versions/:agent_version_id PATCH /v2/agent/:agent_id/versions/:agent_version_id DELETE /v2/agent/:agent_id/versions/:agent_version_id POST /v2/agent/:agent_id/versions/:agent_version_id/set_current ``` See [Agent versions](/docs/api-reference/agent/v2/versions/overview) to save, test and roll back agent configurations. ## Agent object attributes ### `agent_config` * `agent_name` *string* **(required)**\ Name of the agent * `agent_welcome_message` *string* **(required)**\ Initial agent welcome message. You can pass dynamic values here using variables enclosed within `{}` * `webhook_url` *string* **(required)**\ Get real-time details of the call progress and call data on a webhook. All supported events are listed in [Poll call data using webhooks](/docs/post-call/polling-call-status-webhooks) * `tasks` *array* **(required)**\ Definitions and configuration for the agentic tasks ### `agent_prompts` Prompts to be provided to the agent. # Patch update to voice AI agent API Source: https://www.bolna.ai/docs/api-reference/agent/v2/patch_update PATCH /v2/agent/{agent_id} Partially update a Bolna voice AI agent: name, welcome message, webhook URL, voice, pronunciation words, calling guardrails, telephony provider and prompts. Partially update an existing agent. Unlike the [full update](/docs/api-reference/agent/v2/update) (`PUT`), which replaces the entire agent configuration, `PATCH` only touches the attributes you include in the request body — everything else is left unchanged. Returns HTTP **200** with `{ "message": "success", "state": "updated" }`. > [!TIP] > > Use `PATCH` for small, targeted edits (renaming an agent, swapping a voice, updating a webhook URL). Use [`PUT`](/docs/api-reference/agent/v2/update) when you need to rewrite tasks, toolchains, or the full prompt structure. ## Updatable attributes Only the following attributes can be updated via `PATCH`. Any other field in the body is ignored. | Attribute | Location | Description | | - | - | - | | `agent_name` | `agent_config` | Display name of the agent. | | `agent_welcome_message` | `agent_config` | First message the agent speaks when a call connects. | | `webhook_url` | `agent_config` | URL that receives the [execution payload](/docs/api-reference/executions/get_execution) as call status changes. Whitelist source IPs `13.203.39.153`, `13.126.9.249` and `13.202.133.53`. Pass `null` to remove it. | | `synthesizer` | `agent_config` | Text-to-speech configuration (provider, voice, model, [pronunciation words](#pronunciation_rules), etc.). Fields you leave out stay as saved. | | `ingest_source_config` | `agent_config` | CRM ingestion source for inbound agents (`api`, `csv`, or `google_sheet`). | | `telephony_provider` | `agent_config` | Telephony provider. Changing it auto-updates the audio format. | | `calling_guardrails` | `agent_config` | Time-based restrictions for outbound calls. | | `call_summary_enabled` | `agent_config` | Runs a platform summary pass after each call (boolean, off by default). | | `agent_prompts` | top-level | Prompts per task, keyed as `task_1`, `task_2`, … | > [!NOTE] > > All agent-config attributes go inside the `agent_config` object. `agent_prompts` is a top-level key, a sibling of `agent_config`. ## pronunciation\_rules Send `synthesizer.pronunciation_rules` to replace the agent's pronunciation word list. The rest of the voice stays as saved. On a multilingual agent, it replaces the list of the language the agent starts in. Send `[]` to clear it. ```json theme={"system"} { "agent_config": { "synthesizer": { "pronunciation_rules": [ { "word": "HDFC", "say_as": "H D F C bank" }, { "word": "Pune", "say_as": "Poona" } ] } } } ``` The list is applied to calls a few seconds later, and [Get pronunciation status](/docs/api-reference/agent/v2/get_pronunciation_status) tells you when. See [Pronunciation](/docs/customizations/pronunciation) for limits and per-language lists. ## calling\_guardrails Restrict when your agent places outbound calls. Calls triggered outside the allowed window are automatically rescheduled to the next allowed start time in the **recipient's** timezone. It accepts two keys: | Key | Type | Description | | - | - | - | | `call_start_hour` | integer (0–23) | Start of the allowed calling window, 24-hour format. | | `call_end_hour` | integer (0–23) | End of the allowed calling window, 24-hour format. Must be `≥ call_start_hour`. | ```json Update calling guardrails theme={"system"} { "agent_config": { "calling_guardrails": { "call_start_hour": 9, "call_end_hour": 21 } } } ``` > [!NOTE] > > Hours use 24-hour format: `0` = midnight, `9` = 9 AM, `17` = 5 PM, `21` = 9 PM. See the [Calling Guardrails guide](/docs/outbound/calling-guardrails) for rescheduling behavior and regional calling regulations. ## telephony\_provider Switch the telephony provider the agent uses. When changed, the agent's audio input/output format is updated automatically to match the provider (`wav` for `twilio`/`plivo`/`exotel`/`vobiz`, `linear16` for `trunk`, `ulaw` for `sip-trunk`). Accepted values: `twilio`, `plivo`, `exotel`, `vobiz`, `trunk`, `sip-trunk`, `default`. `trunk` is the provider for [SIP trunks](/docs/sip-trunking/overview); `sip-trunk` is for Legacy SIP trunks (deprecated). ```json Switch to SIP trunk theme={"system"} { "agent_config": { "telephony_provider": "trunk" } } ``` > [!NOTE] > > An agent on `trunk` places outbound calls from your trunk's numbers. To answer inbound calls, assign the agent to a trunk number with [`PATCH /trunk/numbers/{number_id}`](/docs/api-reference/trunks/assign_agent). See [Receive calls on a SIP trunk](/docs/sip-trunking/inbound-calls). ## Examples ```json Rename + new welcome message theme={"system"} { "agent_config": { "agent_name": "Support Agent v2", "agent_welcome_message": "Hi! Thanks for calling. How can I help?" } } ``` ```json Update webhook URL theme={"system"} { "agent_config": { "webhook_url": "https://your-server.com/bolna-webhook" } } ``` ```json Change the voice theme={"system"} { "agent_config": { "synthesizer": { "provider": "elevenlabs", "provider_config": { "voice": "Angelica", "voice_id": "IkSv4tkouLJ6kYsQA7XD", "model": "eleven_turbo_v2_5" }, "stream": true, "buffer_size": 250, "audio_format": "wav" } } } ``` ```json Update a task prompt theme={"system"} { "agent_prompts": { "task_1": { "system_prompt": "You are a helpful support agent. Keep replies short." } } } ``` You can also combine multiple attributes in a single request: ```json Combined patch theme={"system"} { "agent_config": { "agent_name": "Sales Agent", "webhook_url": "https://your-server.com/bolna-webhook", "telephony_provider": "plivo", "calling_guardrails": { "call_start_hour": 9, "call_end_hour": 21 } }, "agent_prompts": { "task_1": { "system_prompt": "You are an outbound sales agent. Be concise and friendly." } } } ``` ```json 200 Response theme={"system"} { "message": "success", "state": "updated" } ``` ## Next steps > [card] [Full update (PUT)](/docs/api-reference/agent/v2/update) > > Replace the entire agent configuration, tasks, and prompts. > [card] [Calling guardrails](/docs/outbound/calling-guardrails) > > Control outbound call timing and rescheduling. > [card] [Set inbound agent](/docs/api-reference/inbound/agent) > > Map a phone number to an agent for inbound calls. > [card] [Webhooks](/docs/post-call/polling-call-status-webhooks) > > Receive call results without polling. # Stop agent queued calls API Source: https://www.bolna.ai/docs/api-reference/agent/v2/stop POST /v2/agent/{agent_id}/stop Use Bolna APIs to stop all queued calls for a specific agent, preventing any pending calls from being executed. > [!WARNING] > > This stops **ALL** the queued calls for a given agent. This endpoint stops all queued calls for the specified agent. Any calls that are currently in the queue waiting to be executed will be canceled and will not be processed. # Update voice AI agent API Source: https://www.bolna.ai/docs/api-reference/agent/v2/update PUT /v2/agent/{agent_id} Update agent configurations, tasks, and prompts to refine behavior and capabilities using Bolna Voice AI agent APIs. # Save agent as a new version API Source: https://www.bolna.ai/docs/api-reference/agent/v2/versions/create POST /v2/agent/{agent_id}/versions Save a Bolna voice agent configuration as a new version without making it live, to test it before calls use it. Saves a configuration as a new version of the agent. The live agent and its calls don't change until you [make the version live](/docs/api-reference/agent/v2/versions/set_current). The body is the same as [Update agent](/docs/api-reference/agent/v2/update), validated the same way, plus two optional fields: | Field | Description | | - | - | | `version_name` | Name for the version, one no other version of the agent uses. Defaults to the next number, such as `v4`. | | `tags` | Tags for the version | The response carries the new version's `version_id`. Use it to [place a test call](/docs/api-reference/calls/make#call-a-specific-agent-version), [save more edits into it](/docs/api-reference/agent/v2/versions/update) or make it live. > [!NOTE] > > This is different from [Update agent](/docs/api-reference/agent/v2/update), which saves into the live version and changes what calls use straight away. # Delete agent version API Source: https://www.bolna.ai/docs/api-reference/agent/v2/versions/delete DELETE /v2/agent/{agent_id}/versions/{agent_version_id} Delete a Bolna voice agent version that isn't live. Past calls on it keep their data. Deletes a version and every save under its name. It's no longer listed, readable or callable, and its name becomes free to use again. Executions that ran on the version keep their transcripts, recordings and data. > [!WARNING] > > The live version returns `409`. [Make another version live](/docs/api-reference/agent/v2/versions/set_current) first, then delete it. # Get agent version API Source: https://www.bolna.ai/docs/api-reference/agent/v2/versions/get GET /v2/agent/{agent_id}/versions/{agent_version_id} Get the full configuration a Bolna voice agent had in one version, in the same shape as Get agent. Returns the agent as saved in this version, in the same shape as [Get agent](/docs/api-reference/agent/v2/get). The version is described by these fields: | Field | Description | | - | - | | `version_id` | The version's `id` | | `version_name` | The version's name | | `tags` | The version's tags | | `created_at` | When this save was made | Works for any version that isn't deleted, including earlier saves that [List agent versions](/docs/api-reference/agent/v2/versions/list) doesn't show. To edit the version, send the returned `agent_config` and `agent_prompts`, with your changes, to [Update agent version](/docs/api-reference/agent/v2/versions/update). # List agent versions API Source: https://www.bolna.ai/docs/api-reference/agent/v2/versions/list GET /v2/agent/{agent_id}/versions List a Bolna voice agent's versions, newest first, with the live version marked by is_current. Returns the agent's versions, newest first: every version saved with [Save as new version](/docs/api-reference/agent/v2/versions/create), plus the live version. Each version appears once: * The live version shows its live save, marked with `is_current: true`. * Any other version shows its latest save. After you [save edits into a version](/docs/api-reference/agent/v2/versions/update), its `id` here is the new save's `version_id`. Deleted versions aren't listed. Pages hold up to 50 versions; use `page_number` and `page_size`, and read `has_more` to know whether to fetch the next page. # Agent versions APIs overview Source: https://www.bolna.ai/docs/api-reference/agent/v2/versions/overview Explore Bolna Agent versions APIs to save voice agent configurations as versions, test them with agent_version_id, make one live and roll back. An agent version is a saved copy of an agent's full configuration. One version is **live** and every call uses it, unless the call passes another version's `id` as `agent_version_id` to [`POST /call`](/docs/api-reference/calls/make#call-a-specific-agent-version). Versions apply to regular agents; graph agents have their own [version history](/docs/graph-agent/version-history). ## Endpoints ``` GET /v2/agent/:agent_id/versions GET /v2/agent/:agent_id/versions/:agent_version_id POST /v2/agent/:agent_id/versions PUT /v2/agent/:agent_id/versions/:agent_version_id PATCH /v2/agent/:agent_id/versions/:agent_version_id POST /v2/agent/:agent_id/versions/:agent_version_id/set_current DELETE /v2/agent/:agent_id/versions/:agent_version_id ``` ## Agent version object attributes * `id` *string*\ Unique identifier of the version. Pass it as `agent_version_id` to the version endpoints and to [`POST /call`](/docs/api-reference/calls/make#call-a-specific-agent-version) * `version_name` *string*\ Name of the version, unique within the agent. New versions are named `v1`, `v2` and so on until you [rename](/docs/api-reference/agent/v2/versions/patch) them * `tags` *array*\ Tags for the version * `version_status` *string*\ `saved` for the save created with [Save as new version](/docs/api-reference/agent/v2/versions/create), `published` for later saves into the version or saves of the live version * `is_current` *boolean*\ `true` for the live version * `created_at` *string*\ When this save was made * `updated_at` *string*\ When this save was last updated > [!NOTE] > > Every save into a version shares its `version_name`, and each save gets a new `id`. [Saving edits into a version](/docs/api-reference/agent/v2/versions/update) returns the new `id`; use it for the next request. Renaming or deleting a version applies to all of its saves, and the live version can't be deleted. # Rename agent version API Source: https://www.bolna.ai/docs/api-reference/agent/v2/versions/patch PATCH /v2/agent/{agent_id}/versions/{agent_version_id} Rename a Bolna voice agent version or replace its tags without changing its configuration. Changes a version's `version_name` or `tags`. The configuration doesn't change, and this works on the live version too. * A rename applies to every save of the version. * Renaming to a name another version of the agent uses returns `409`. * `tags` replaces the tags of the save you pass. * Other fields return `422`. To change the configuration, use [Update agent version](/docs/api-reference/agent/v2/versions/update). # Make agent version live API Source: https://www.bolna.ai/docs/api-reference/agent/v2/versions/set_current POST /v2/agent/{agent_id}/versions/{agent_version_id}/set_current Make a Bolna voice agent version live, so every new call uses it, or roll back to an earlier version. Restores the version's configuration onto the agent and makes it the live version. Every new call uses it, unless the call pins another version with `agent_version_id`. The response's `current_version_id` is the version you passed. The version that was live stays in [List agent versions](/docs/api-reference/agent/v2/versions/list), so you can roll back by calling this endpoint with its `id`. Inbound phone numbers stay connected to the agent: making a version live doesn't change which numbers route to it. # Update agent version API Source: https://www.bolna.ai/docs/api-reference/agent/v2/versions/update PUT /v2/agent/{agent_id}/versions/{agent_version_id} Save edits into a Bolna voice agent version that isn't live, without changing the live agent. Saves a configuration into a version that isn't live. The body is the same as [Update agent](/docs/api-reference/agent/v2/update): send the full configuration, for example the one from [Get agent version](/docs/api-reference/agent/v2/versions/get) with your changes. The save keeps the version's name and tags but gets a **new `version_id`**, returned in the response. Use that `id` from now on, for later saves, test calls and `set_current`. [List agent versions](/docs/api-reference/agent/v2/versions/list) shows the version with its new `id`. > [!WARNING] > > The live version returns `409`. Save it with [Update agent](/docs/api-reference/agent/v2/update) instead. # API authentication Source: https://www.bolna.ai/docs/api-reference/authentication Authenticate Bolna API requests with a Bearer API key in the Authorization header, and generate your API key from the Bolna dashboard. To authenticate your API requests with `bolna`, you must include your `` in the Authorization header of HTTP requests made to the platform with the value Bearer ``. ### Steps to generate your API key: * Login to the dashboard at [https://platform.bolna.ai](https://platform.bolna.ai) * In the left sidebar, expand **Developers** and open [**API Keys**](https://platform.bolna.ai/developers) * Click the button `Generate a new API Key` to generate a key * Save your API Key ![API key generation interface in Bolna platform showing developers section for creating authentication tokens](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/generate-api-key.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=6c80d2f31cd4175591242854b636f1da) Generate API Keys from the Bolna Platform > [!NOTE] > > The API Key will be shown only once. Hence, please save it somewhere secure. # Create batch API Source: https://www.bolna.ai/docs/api-reference/batches/create POST /batches Discover how to create a batch for Bolna Voice AI agent by uploading a CSV file containing user contact numbers and prompt variable details for users. > [!NOTE] > > This is the API route. To run batches from the platform, upload your CSV under **Deploy → Batches** in the dashboard — see [Batch Calling from the dashboard](/docs/outbound/batch-calling#how-to-run-batches-from-the-dashboard). Creates a new batch campaign by uploading a CSV of recipients. Returns HTTP **201** with a `batch_id`. The batch does not start calling until you call `POST /batches/{batch_id}/schedule`. ## CSV format ```csv theme={"system"} contact_number,customer_name,appointment_day +919876543210,Asha,Friday +919812345678,Ravi,Monday ``` * `contact_number` is **required** — E.164 format * Any other column becomes a `{variable}` available in your agent's prompt and welcome message * The per-call execution stores these columns in `context_details.recipient_data` ## Example request Use `multipart/form-data` — **not** JSON. ```bash curl theme={"system"} curl https://api.bolna.ai/batches \ -H "Authorization: Bearer $BOLNA_API_KEY" \ -F "agent_id=123e4567-e89b-12d3-a456-426655440000" \ -F "file=@recipients.csv" ``` ```python Python (stdlib) theme={"system"} import os, urllib.request from io import BytesIO # See public/examples/bolna_batch_test.py for a complete implementation ``` ```json 201 Response theme={"system"} { "batch_id": "3c90c3cc0d444b5088888dd25736052a", "state": "created" } ``` ## Next step: schedule the batch A created batch is idle until scheduled. Call `POST /batches/{batch_id}/schedule` with a `scheduled_at` timestamp: ```json Schedule request (form-data) theme={"system"} scheduled_at=2026-06-23T18:30:00+00:00 ``` > [!WARNING] > > Use a **numeric UTC offset** like `+00:00` — the `Z` suffix is rejected with a 500. The time must be at least 2 minutes in the future, and Bolna rounds the start up to the next 10-minute mark. See the [Batch Quickstart](/docs/quickstarts/batch) for a complete walk-through including scheduling and result retrieval. # Delete batch API Source: https://www.bolna.ai/docs/api-reference/batches/delete DELETE /batches/{batch_id} Understand how to delete a specific batch using its ID, effectively removing it from your scheduled or active batches. # List batch executions API Source: https://www.bolna.ai/docs/api-reference/batches/executions GET /batches/{batch_id}/executions Learn how to retrieve all executions from a batch, providing detailed information on each call's outcome and metrics. # List batch executions API (v2) Source: https://www.bolna.ai/docs/api-reference/batches/executions_v2 GET /v2/batches/{batch_id}/executions Retrieve executions from a batch with pagination support, providing detailed information on each call's outcome and metrics. ## Pagination This API supports pagination using the `page_number` and `page_size` query parameters. You can utilize `has_more` in the API response to determine if you should fetch the next page. You can learn more about it from the [pagination documentation](/docs/api-reference/pagination). # Get batch API Source: https://www.bolna.ai/docs/api-reference/batches/get_batch GET /batches/{batch_id} Find out how to retrieve details of a specific batch, including its creation time, status, call status and scheduled execution time. # List all batches API Source: https://www.bolna.ai/docs/api-reference/batches/get_batches GET /batches/{agent_id}/all Explore how to list all batches associated with a particular Bolna Voice AI agent, providing an overview of their statuses, schedules and other relevant details # Batch APIs overview Source: https://www.bolna.ai/docs/api-reference/batches/overview Create, schedule, stop and track batches of Bolna voice AI calls with the Batch APIs, or upload a CSV under Deploy → Batches in the dashboard. > [!NOTE] > > Looking for how to **run batches from the platform**? You don't need the API — upload a CSV under **Deploy → Batches** in the dashboard. See [Batch Calling from the dashboard](/docs/outbound/batch-calling#how-to-run-batches-from-the-dashboard). The pages below cover the Batch API. For the end-to-end walkthrough of both routes — dashboard and API — see the [Batch Calling guide](/docs/outbound/batch-calling). ## Endpoints ``` POST /batches POST /batches/:batch_id/schedule POST /batches/:batch_id/stop GET /batches/:batch_id GET /batches/:batch_id/executions GET /batches/:agent_id/all DELETE /batches/:batch_id ``` # Schedule batch API Source: https://www.bolna.ai/docs/api-reference/batches/schedule POST /batches/{batch_id}/schedule Learn how to schedule a batch for calling via Bolna Voice AI agent by specifying the batch ID and the desired execution time. > [!NOTE] > > **Time restrictions on `scheduled_at`** > > * Must be at most **30 days** in the future; later values return HTTP `400`. > * Batches scheduled less than 10 minutes ahead are dispatched immediately; batches scheduled 10 or more minutes ahead are marked `scheduled` and start at the requested time. > * Use a numeric UTC offset (e.g. `+00:00`); the `Z` suffix is not accepted. # Stop batch API Source: https://www.bolna.ai/docs/api-reference/batches/stop POST /batches/{batch_id}/stop Stop a running Bolna batch by its batch ID with the Stop batch API, halting the ongoing calls in that batch calling campaign. # Make voice AI call API Source: https://www.bolna.ai/docs/api-reference/calls/make POST /call Learn how to initiate outbound phone calls using Bolna Voice AI agents. Start making phone calls using the agent ID and recipient's phone number. Places an outbound call from a Bolna agent to a phone number. Returns an `execution_id` you use to track and retrieve the call result. ## Minimal example Only two fields are required — `agent_id` and `recipient_phone_number`. Omit `from_phone_number` to use your account's default number. ```json Minimal request theme={"system"} { "agent_id": "123e4567-e89b-12d3-a456-426655440000", "recipient_phone_number": "+919876543210" } ``` ```json Response theme={"system"} { "message": "done", "status": "queued", "execution_id": "b7140255-af33-4608-8e97-04dd944b8e48" } ``` ## Realistic example with personalization Pass `user_data` to inject variables into your agent's prompt and welcome message (e.g. `{{customer_name}}` in the prompt becomes "Asha"): ```json Request with personalization theme={"system"} { "agent_id": "123e4567-e89b-12d3-a456-426655440000", "recipient_phone_number": "+919876543210", "from_phone_number": "+918035739222", "user_data": { "customer_name": "Asha", "appointment_day": "Friday" } } ``` ## Call a specific agent version Calls use the agent's live version. Pass `agent_version_id` to run the call on another [agent version](/docs/api-reference/agent/v2/versions/overview) instead, for example to test a version before you [make it live](/docs/api-reference/agent/v2/versions/set_current). Get the `id` from [List agent versions](/docs/api-reference/agent/v2/versions/list) or from the response of [Save as new version](/docs/api-reference/agent/v2/versions/create). ```json Request on a version that isn't live theme={"system"} { "agent_id": "123e4567-e89b-12d3-a456-426655440000", "agent_version_id": "7e775357-d9d3-4c82-a7d7-b7c3346caf79", "recipient_phone_number": "+919876543210" } ``` The call runs on that version's prompts, voice, models and settings. Other calls, and the agent itself, keep using the live version. A version that doesn't exist, belongs to another agent or was deleted returns `404` with `Agent version not found.` ## Tracking the call Use the returned `execution_id` to poll `GET /executions/{execution_id}` for status. The call goes through these stages: ``` queued → initiated → ringing → in-progress → call-disconnected → completed ``` > [!WARNING] > > **Wait for `completed`, not `call-disconnected`.** The `call-disconnected` event fires the instant the line drops, but `conversation_duration`, `total_cost`, `recording_url`, and `extracted_data` are not yet populated. The `completed` event (a few seconds later) has all finalized fields. See [Get Execution](/docs/api-reference/executions/get_execution). ## Common 400 errors | Message | Fix | | - | - | | `agent_id is required` | Include a valid UUID `agent_id` | | `recipient_phone_number is required` | Phone number must be E.164 format, e.g. `+919876543210` | | Invalid `from_phone_number` | Must be a number purchased in your Bolna account | An `agent_version_id` that doesn't exist, belongs to another agent or was deleted returns `404` (see [Call a specific agent version](#call-a-specific-agent-version)). ## Calling from a newly bought number Providers sometimes take up to 3 minutes to activate a number after you buy it. Until then, a call from it returns `429` with how long to wait: ```json 429 response theme={"system"} { "message": "Phone number +918035739222 was bought recently and is still being activated. Retry after 95 seconds.", "retry_after_seconds": 95 } ``` No call is queued, so send the same request again after `retry_after_seconds`. A call with a `scheduled_at` after the number activates is accepted right away. A scheduled call that would dial before then gets the same `429`, and its message names the earliest time you can schedule it for. # Calling APIs overview Source: https://www.bolna.ai/docs/api-reference/calls/overview Explore Bolna Calling APIs to invoke outbound Voice AI phone calls from your agents. This overview provides the available endpoints and their functionalities. ## Endpoints ``` POST /call ``` # Stop a previously initiated voice AI call API Source: https://www.bolna.ai/docs/api-reference/calls/stop_call POST /call/{execution_id}/stop Learn how to stop a call when its status is `queued` or `scheduled` This API allows you to cancel pending calls before they are executed. # Create compliance application API Source: https://www.bolna.ai/docs/api-reference/compliance/create POST /compliance/create Submit a phone number compliance application for India (DLT) with your business details, CIN certificate and GST certificate. Send the request as `multipart/form-data`. All fields are required, and both `cin_file` and `gst_file` must be PDFs of at most 10 MB. See the [compliance requirements](/docs/compliance-application/introduction) for details on each document. Review usually takes 12–24 hours. Track the application with the [list](/docs/api-reference/compliance/list) or [get](/docs/api-reference/compliance/get) API: its `status` moves from `submitted` to `accepted` or `rejected`. Once it is `accepted`, you can [buy phone numbers](/docs/api-reference/phone-numbers/buy). # Delete compliance application API Source: https://www.bolna.ai/docs/api-reference/compliance/delete DELETE /compliance/{compliance_id} Delete a phone number compliance application and its uploaded documents. Use this to resubmit an application with corrected details. # Get compliance application API Source: https://www.bolna.ai/docs/api-reference/compliance/get GET /compliance/{compliance_id} Retrieve a single phone number compliance application by its ID, including its review status and rejection reason. # List compliance applications API Source: https://www.bolna.ai/docs/api-reference/compliance/list GET /compliance/list Retrieve all phone number compliance applications submitted by your account, along with their review status and rejection reason. # Compliance APIs overview Source: https://www.bolna.ai/docs/api-reference/compliance/overview Submit, list, retrieve and delete phone number compliance applications for India (DLT) using the Bolna Compliance APIs. A compliance application is required before you can [buy Indian phone numbers](/docs/api-reference/phone-numbers/buy). See the [India DLT compliance requirements](/docs/compliance-application/introduction) for the documents you need. ## Endpoints ``` GET /compliance/list POST /compliance/create GET /compliance/{compliance_id} DELETE /compliance/{compliance_id} ``` # Bulk create dispositions API Source: https://www.bolna.ai/docs/api-reference/dispositions/bulk-create POST /dispositions/bulk Atomically create and link multiple dispositions to an agent in one POST /dispositions/bulk request; either all succeed or none are created. > [!TIP] > > Use bulk create when setting up a new agent with a complete set of dispositions, or when importing a disposition configuration from another source. Either all dispositions are created and linked, or none are — partial results are not possible. > [!NOTE] > > Each item places its disposition in a category the same way [Create Disposition](/docs/api-reference/dispositions/create) does: pass `category_id` (preferred) or a `category` name, at most one of the two — an item carrying both fails the whole request with a 400 error. Items omitting both go to the agent's `General` category. See [Extraction Categories](/docs/api-reference/extraction-categories/overview). # Create disposition API Source: https://www.bolna.ai/docs/api-reference/dispositions/create POST /dispositions/ Create a new disposition and link it to an agent in one POST /dispositions/ request; `agent_id` is required and at least one option type must be set. > [!NOTE] > > At least one of `is_subjective` or `is_objective` must be `true`. When `is_objective` is `true`, you must provide `objective_options`. See the [ObjectiveOption schema](/docs/api-reference/dispositions/overview#objectiveoption-schema) for the full structure including nested `sub_options`. > > Place the disposition in a category by passing `category_id` (preferred) or a `category` name — at most one of the two; a payload with both fails with a 400 error. A `category` name that does not match one of the agent's categories creates a fresh category. When both are omitted, the disposition goes to the agent's `General` category. See [Extraction Categories](/docs/api-reference/extraction-categories/overview). # Delete disposition API Source: https://www.bolna.ai/docs/api-reference/dispositions/delete DELETE /dispositions/{disposition_id} Delete a disposition from your account via DELETE /dispositions/{disposition_id}. Only the owning user or an admin can delete it; the action is permanent. > [!WARNING] > > Deletion is permanent and cannot be undone. Historical call execution results that already contain this disposition's output are not affected — only future calls will stop evaluating it. Deleting a category's last disposition also deletes the category itself. ### Authorization * **Regular users** can only delete dispositions they own (`created_by` matches their user ID). * **Admins** can delete any disposition. ### Dispositions a follow-up runs after If a [follow-up category](/docs/api-reference/extraction-categories/overview#run-rules) runs after this disposition, the delete is refused with `400` and a `message` naming the follow-up. Change or delete the follow-up first. # Get disposition API Source: https://www.bolna.ai/docs/api-reference/dispositions/get GET /dispositions/{disposition_id} Retrieve a single disposition by ID via GET /dispositions/{disposition_id}, optionally scoped to a specific agent for ownership checks. # List dispositions API Source: https://www.bolna.ai/docs/api-reference/dispositions/list GET /dispositions/ Retrieve all dispositions accessible to your account via GET /dispositions/, optionally scoped to a specific agent with a query parameter. # Dispositions API overview Source: https://www.bolna.ai/docs/api-reference/dispositions/overview Create and manage dispositions, the questions an LLM answers from each call transcript that power Bolna Extractions, grouped into categories. ## What are dispositions? **Extractions** is the Bolna feature that automatically captures structured data from call transcripts after every call. Each extraction is configured as one or more **dispositions** — individual questions posed to an LLM against the transcript — grouped under named **categories**. So the hierarchy is: ``` Agent └── Extractions (feature) └── Category (one LLM pass, owns the model — e.g. "Lead Quality") └── Disposition (a single question — e.g. "Call Outcome") ``` Each category is evaluated in a single LLM pass — one category means one LLM call per conversation — and the category owns the `model` used for that pass. Categories are managed through the [Extraction Categories API](/docs/api-reference/extraction-categories/overview); attaching a category to an agent gives the agent all of the category's dispositions. Each disposition asks a single question and returns a **Free Text** response (`subjective`), a **Pre-defined** value selected from options you configure (`objective`), or both. ## Key features * **Organized by category**: Dispositions are grouped under categories, which are evaluated one LLM pass each and appear as sections in the extraction results * **Two answer types**: Free Text (`is_subjective`) and Pre-defined (`is_objective`), configurable independently or together * **Typed free-text responses**: Constrain free-text answers to a specific format — `timestamp`, `numeric`, `boolean`, `email`, or a custom `regex` pattern — with automatic post-LLM validation * **Confidence & reasoning**: Every result includes a confidence score (0.0–1.0) and an explanation of why the LLM produced that answer * **Bulk creation**: Create and link multiple dispositions to an agent atomically in a single request * **Copy-on-write updates**: Editing a shared disposition via a scoped agent automatically creates a private copy, keeping other agents unaffected * **Model selection**: The category owns the LLM model; every disposition in a category is evaluated by the category's model in one pass ## Endpoints ``` GET /dispositions/ List dispositions GET /dispositions/{disposition_id} Get a single disposition POST /dispositions/ Create a disposition POST /dispositions/bulk Bulk-create dispositions for an agent PUT /dispositions/{disposition_id} Update a disposition (copy-on-write aware) DELETE /dispositions/{disposition_id} Delete a disposition POST /v2/agent/{agent_id}/dispositions/test Test all dispositions for an agent against a transcript ``` Categories themselves are managed through the [Extraction Categories API](/docs/api-reference/extraction-categories/overview). ## Disposition object ```json theme={"system"} { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "name": "Call Outcome", "question": "What was the outcome of the call?", "category": "Lead Quality", "category_id": "9b2e8f10-4c7d-4e2a-9f31-6a8d5c1b0e42", "model": "gpt-4.1-mini", "is_subjective": true, "is_objective": true, "subjective_type": "text", "subjective_type_config": null, "objective_options": [ { "value": "interested", "condition": "Customer expressed genuine interest and agreed to a next step" }, { "value": "not_interested", "condition": "Customer declined all proposals" }, { "value": "follow_up", "condition": "Customer asked to be contacted again later" } ], "agent_ids": ["agt_abc123"], "created_by": "user_abc123", "created_at": "2026-03-01T10:00:00Z", "updated_at": "2026-03-15T14:30:00Z" } ``` ### Field reference | Field | Type | Description | | - | - | - | | `id` | UUID | Unique identifier | | `name` | string | Display name shown in extraction results | | `question` | string | The prompt sent to the LLM to evaluate the transcript | | `category` | string | Name of the extraction category this disposition belongs to (default: `"General"`) | | `category_id` | UUID \| null | ID of the extraction category; `null` for platform-managed dispositions | | `model` | string | LLM model label on the disposition (default: `"gpt-4.1-mini"`). The extraction pass runs on the category's model. | | `is_subjective` | bool | Enable Free Text response | | `is_objective` | bool | Enable Pre-defined value selection | | `subjective_type` | string | Format constraint for free-text responses: `text` (default), `timestamp`, `numeric`, `boolean`, `email`, or `regex` | | `subjective_type_config` | object \| null | Configuration for `regex` subjective type. Must include `pattern` (required) and optionally `description` | | `objective_options` | array \| null | Required when `is_objective` is `true` | | `agent_ids` | array | Agent IDs this disposition is linked to | | `created_by` | string | ID of the user who created this disposition | | `created_at` | string | ISO 8601 timestamp when the disposition was created | | `updated_at` | string | ISO 8601 timestamp of the last update | ### ObjectiveOption schema ```json theme={"system"} { "value": "interested", "condition": "Customer expressed genuine interest and agreed to a next step", "sub_options": [] } ``` `sub_options` is optional and supports the same recursive `ObjectiveOption` structure for hierarchical classifications. > [!NOTE] > > For a full walkthrough of the Extractions feature, answer types, output format, and best practices, see the [Using Extractions](/docs/prompting/using-extractions) guide. # Test dispositions API Source: https://www.bolna.ai/docs/api-reference/dispositions/test POST /v2/agent/{agent_id}/dispositions/test Run every disposition linked to an agent against a sample transcript via POST to preview grouped extraction results before making live calls. Runs **all dispositions linked to the specified agent** against a provided transcript and returns the grouped results. Useful for validating your disposition setup before going live. The response `extracted_data` is grouped by category and disposition name, in the same format as post-call execution data, `status` and `status_reason` included. [Follow-up categories](/docs/api-reference/extraction-categories/overview#run-rules) run as they would after a real call, so a follow-up whose parent answer doesn't match comes back with `status: "skipped"`. Start rules always pass here, since a transcript carries no call duration or voicemail result. # Update disposition API Source: https://www.bolna.ai/docs/api-reference/dispositions/update PUT /dispositions/{disposition_id} Update a disposition. When scoped to an agent, shared dispositions are copied before editing to protect other agents. ## Scoped vs. unscoped mode ### Scoped mode (recommended) — `agent_id` provided The API checks whether the disposition is **exclusive** to the specified agent (i.e., not shared with other agents): * **Case 1: Disposition is exclusive to this agent → Edit in place.** Returns `200 OK`. * **Case 2: Disposition is shared → Copy-on-write.** A new private copy is created for this agent, and the agent is re-linked to the copy. The original disposition is unchanged. Returns `201 Created`. > [!WARNING] > > A `201` response means a **new disposition ID was created**. If you're storing the disposition ID (e.g., in your own database), update your reference to the new ID returned in the response. The original `disposition_id` now belongs to other agents; your agent uses the new copy. ### Unscoped mode — no `agent_id` * Admins can update any disposition in place. * Non-admin users can only update dispositions they own. ## Moving a disposition between categories Send the new category in the update body: * `category_id` (preferred) — the ID of an existing category attached to the agent. * `category` — a category name, resolved against the agent's attached categories; an unmatched name creates a fresh category. Send at most one of the two — a payload with both fails with a 400 error. Copy-on-write behavior is unchanged: the category placement applies to whichever disposition row the update produces. When the move empties the source category, the emptied category is deleted automatically. See [Extraction Categories](/docs/api-reference/extraction-categories/overview) for category lifecycle rules. ## Dispositions a follow-up runs after When a [follow-up category](/docs/api-reference/extraction-categories/overview#run-rules) runs after this disposition, an update that would break it is refused with `400` and a `message` naming the follow-up: setting `is_objective` to `false`, or removing or renaming an `objective_options` value the follow-up lists in `match_values`. Change the follow-up first. See [Refused changes](/docs/api-reference/extraction-categories/overview#refused-changes). # Errors & status codes Source: https://www.bolna.ai/docs/api-reference/errors HTTP status codes, error response shapes, execution status enums and batch status enums returned by the Bolna API, and when you see each one. ## HTTP status codes | Code | Meaning | When you see it | | - | - | - | | `200` | OK | Successful GET / action (stop, schedule, etc.) | | `201` | Created | `POST /v2/agent`, `POST /batches` — resource created | | `400` | Bad Request | Invalid or missing parameter — check `message` in the response body | | `401` | Unauthorized | Missing or invalid API key — add `Authorization: Bearer ` | | `403` | Forbidden | Valid key but insufficient permissions | | `404` | Not Found | Resource ID doesn't exist or belongs to another account | | `429` | Too Many Requests | Rate limit hit — back off and retry with exponential backoff | | `500` | Internal Server Error | Unexpected server error — also returned when `scheduled_at` uses the `Z` suffix (use `+00:00` instead) | ## Error response shape All 4xx/5xx responses return JSON: ```json theme={"system"} { "error": 1001, "message": "agent_id is required" } ``` The `error` integer is an internal code; `message` is human-readable. The `message` field is the most useful for debugging. ## Execution status enum Returned in `GET /executions/{id}` and webhook payloads as the `status` field. | Status | Type | Description | | - | - | - | | `scheduled` | Intermediate | Call is scheduled for a future time | | `prepared` | Intermediate | Execution record created and validated (recipient number, from/to number assigned) but not yet handed off to the dial queue | | `queued` | Intermediate | Call accepted and waiting to dial | | `rescheduled` | Intermediate | Call was rescheduled (e.g. due to guardrails) | | `initiated` | Intermediate | Dialing has started | | `ringing` | Intermediate | Recipient's phone is ringing | | `in-progress` | Intermediate | Call answered, conversation active | | `call-disconnected` | **Soft terminal** | Line dropped — data still finalizing; `completed` follows | | **`completed`** | **Terminal ✓** | Call finished; all fields populated | | `no-answer` | Terminal | Recipient didn't pick up | | `busy` | Terminal | Line was busy | | `failed` | Terminal | Telephony provider error | | `canceled` | Terminal | Call canceled before answer | | `stopped` | Terminal | Manually stopped via API | | `error` | Terminal | Internal error | | `balance-low` | Terminal | Insufficient wallet balance to place call | > [!WARNING] > > **`call-disconnected` is not the final state.** `conversation_duration`, `total_cost`, `recording_url`, and `extracted_data` are `null` or `0` at this point. Wait for **`completed`** (or any other terminal status above) before reading those fields. ### Polling pattern ```python theme={"system"} TERMINAL = {"completed","no-answer","busy","failed","canceled","stopped","error","balance-low"} while True: data = get_execution(execution_id) if data["status"] in TERMINAL: break # safe to read all fields now time.sleep(5) ``` ## Batch status enum Returned by `GET /batches/{batch_id}` as the `status` field. | Status | Description | | - | - | | `created` | Batch created, not yet scheduled | | `processed` | CSV parsed and per-call records generated; batch is ready to run (no calls dialed yet) | | `scheduled` | Scheduled and waiting for start time | | `running` | Calls are actively being placed | | `completed` | All calls finished | | `stopped` | Manually stopped | | `failed` | Error prevented execution | ## Per-call status in a batch Each execution inside `GET /batches/{batch_id}/executions` has an individual `status` from the execution enum above. The batch's `execution_status` field gives a summary count: `{ "completed": 5, "no-answer": 2, "running": 3 }`. ## Scheduling errors | Scenario | HTTP | Message | | - | - | - | | `scheduled_at` uses `Z` suffix | `500` | Internal server error | | `scheduled_at` \< 2 minutes ahead | `400` | "Scheduled time should be at least 2 minutes in the future" | | Invalid ISO 8601 format | `400` | Parsing error | **Fix:** always use a numeric offset: `2026-06-23T18:30:00+00:00`. # Get batch executions API Source: https://www.bolna.ai/docs/api-reference/executions/get_batch_executions GET /batches/{batch_id}/executions Retrieve all executions for specific batches using Bolna APIs. This endpoint provides detailed information on each call's outcome and metrics within the batch. # Retrieve voice AI execution API Source: https://www.bolna.ai/docs/api-reference/executions/get_execution GET /executions/{execution_id} Fetch details of a specific phone call execution by its ID using Bolna APIs. This includes information such as conversation time, status, and telephony data. Retrieves a single call execution by its ID. Returns the full call record including transcript, cost breakdown, recording URL, and extracted data. ## Status lifecycle A call moves through these statuses. **Always wait for `completed`** (or a hard-failure terminal) before reading `conversation_duration`, `total_cost`, `recording_url`, or `extracted_data` — these fields are `null` or `0` until then. | Status | Meaning | | - | - | | `queued` | Call accepted, waiting to dial | | `initiated` | Dialing started | | `ringing` | Recipient's phone is ringing | | `in-progress` | Call answered, conversation active | | `call-disconnected` | Line dropped — data still being finalized | | **`completed`** | **✓ Terminal — all fields populated** | | `no-answer` | Recipient didn't pick up | | `busy` | Line busy | | `failed` | Telephony error | | `canceled` | Call canceled before answer | | `stopped` | Call stopped mid-execution | | `error` | Internal error during processing | | `balance-low` | Insufficient wallet balance | `status` is the call's lifecycle state. To know what happened to the call, read `termination_reason`; see [Termination reasons](/docs/post-call/termination-reasons). ## Completed execution example ```json Completed execution theme={"system"} { "id": "b7140255-af33-4608-8e97-04dd944b8e48", "agent_id": "5bc97541-e320-4d95-a3a5-242cfe45621d", "status": "completed", "termination_reason": "inactivity_timeout", "conversation_duration": 16, "total_cost": 3.23, "transcript": "assistant: Hi! How is your day going?\nuser: Good thanks.\nassistant: Glad to hear it!", "user_number": "+919876543210", "agent_number": "+918035739222", "summary": "Customer confirmed appointment for Friday.", "extracted_data": { "General": { "Call Summary": { "subjective": "Customer confirmed appointment for Friday." } } }, "node_extracted_data": null, "telephony_data": { "duration": 16, "recording_url": "https://api.bolna.ai/recordings/call/b7140255-af33-4608-8e97-04dd944b8e48", "call_type": "outbound", "provider": "plivo", "hangup_by": "Plivo", "hangup_reason": "inactivity_timeout" }, "cost_breakdown": { "platform": 2, "network": 1, "transcriber": 0.23, "llm": 0, "synthesizer": 0 }, "latency_data": { "time_to_first_audio": 189.69 } } ``` The `summary` field and the `General > Call Summary` entry in `extracted_data` are populated only when the agent's `call_summary_enabled` toggle is on (off by default). The Call Summary entry carries only a `subjective` value — the confidence, reasoning, and objective fields of regular [extractions](/docs/prompting/using-extractions) do not apply to it. For graph agents, `node_extracted_data` holds the values the agent's edges collected during the call, the latest value per key, for example `{"availability": "Yes", "callback_hour": 18}`. It is `null` for other agents. See [Inline data extraction](/docs/graph-agent/edges-and-routing#inline-data-extraction). ## Production pattern: webhook instead of polling For production workloads, set `webhook_url` on your agent and Bolna will POST the execution payload to you automatically — no polling needed. Whitelist source IPs `13.203.39.153`, `13.126.9.249` and `13.202.133.53`. See [Webhooks](/docs/post-call/polling-call-status-webhooks). ```python Poll until completed (Python) theme={"system"} import os, time, urllib.request, json TERMINAL = {"completed","no-answer","busy","failed","canceled","stopped","error","balance-low"} key = os.environ["BOLNA_API_KEY"] exec_id = "YOUR_EXECUTION_ID" while True: req = urllib.request.Request( f"https://api.bolna.ai/executions/{exec_id}", headers={"Authorization": f"Bearer {key}"}, ) data = json.load(urllib.request.urlopen(req)) if data["status"] in TERMINAL: print(data["transcript"]) break time.sleep(5) ``` # Retrieve voice AI execution debug bundle API Source: https://www.bolna.ai/docs/api-reference/executions/get_execution_debug GET /executions/{execution_id}/debug Fetch everything needed to debug one call in a single Bolna API request: the execution, per-turn latency with the structured transcript, and pipeline logs. Returns what the dashboard's **Debugging** view shows for one call, in a single response. Use it when you want to find out why a call was slow, dropped or went off script without stitching together [Get execution](/docs/api-reference/executions/get_execution), the per-turn latency and [Get raw logs](/docs/api-reference/executions/get_execution_raw_logs) yourself. The [Bolna MCP server](/docs/mcp-server) uses it for its `get_execution_debug` tool. ## Sections | Section | What's in it | | - | - | | `execution` | The call's status and error, provider and numbers, timestamps, duration, cost and usage breakdowns, `telephony_data`, `latency_data`, `context_details`, extractions, `summary`, tool calls, transfers and retries | | `progression` | `call_start_at`, the latency analytics for each turn, and the structured transcript: user and agent messages, function calls and call events such as transfers and hangups | | `logs` | The pipeline logs for the call (transcriber, LLM, synthesizer and function calls), followed by one `webhook` entry with the call's webhook deliveries. Webhook deliveries are included for calls from the last 14 days | Pass `include` to fetch only some sections, for example `?include=execution,logs`. Leave it out to get all three. Any other value returns `400`. ## Reading LLM requests Every LLM request resends the full prompt and the conversation so far, so in `logs` each `llm` request after the first carries only the text it adds. Its `data_shared_prefix_chars` says how many leading characters it shares with the previous request. To rebuild the full text of each request: ```python theme={"system"} full_requests, previous = [], None for row in bundle["logs"] or []: if row.get("component") == "llm" and row.get("type") == "request": text = row["data"] if "data_shared_prefix_chars" in row: text = previous[: row["data_shared_prefix_chars"]] + text full_requests.append(text) previous = text ``` The first request is always whole: it is the exact prompt that ran, with variables filled in. The bundle is trimmed for size. For the full data, use [Get execution](/docs/api-reference/executions/get_execution) and [Get raw logs](/docs/api-reference/executions/get_execution_raw_logs). ## When a section is missing One section never fails the whole response. A section that doesn't exist for this call, or that fails to load, comes back `null`, and `unavailable` names it with the reason: ```json theme={"system"} { "execution_id": "4c06b4d1-4096-4561-919a-4f94539c8d4a", "unavailable": { "progression": "not_available" }, "execution": { "id": "4c06b4d1-4096-4561-919a-4f94539c8d4a", "status": "completed" }, "progression": null, "logs": [] } ``` | Reason | Meaning | | - | - | | `not_available` | There is no data for this section on this call | | `error` | The section failed to load. Retry, or fetch the same data from its own endpoint | # Retrieve voice AI execution raw logs API Source: https://www.bolna.ai/docs/api-reference/executions/get_execution_raw_logs GET /executions/{execution_id}/log Fetch raw logs of a phone call execution by ID via the Bolna API, including prompts, requests, responses, and optional LLM reasoning summaries. For each item in `data`, when **`component`** is **`llm`** and **`type`** is **`response`**, the assistant text is in **`data`**. If the model exposed traceable reasoning for that turn, **`reasoning_content`** is also set; otherwise the field is omitted. Use this to debug or display model thinking alongside the spoken reply. # Get all voice AI agent executions API Source: https://www.bolna.ai/docs/api-reference/executions/get_executions GET /v2/agent/{agent_id}/executions Retrieve all executions performed by a specific agent using Bolna APIs. This endpoint provides a comprehensive history of the agent's calls and conversations. ## Pagination This API supports pagination using the `page_number` and `page_size` query parameters. You can utilize `has_more` in the API response to determine if you should fetch the next page. You can learn more about it from the [pagination documentation](/docs/api-reference/pagination). ## Date filtering > [!WARNING] > > The `from` and `to` query parameters are **required** to filter executions by date. You can filter executions by their `created_at` timestamp using the `from` and `to` query parameters. The following rules apply: * Both `from` and `to` are **required** and must be passed **together**. * The maximum allowed range between `from` and `to` is **7 days**. * Dates must be in **UTC ISO 8601** format (e.g. `2026-06-07T00:00:00.000Z`). # Executions APIs overview Source: https://www.bolna.ai/docs/api-reference/executions/overview Access your Voice AI agents call and conversation history using Bolna Executions APIs. This page details the available endpoints for managing call executions. Every endpoint below returns call executions. For what each field in an execution means, see the [execution payload reference](/docs/post-call/execution-payload). ## Endpoints ``` GET /executions/:execution_id GET /batches/:batch_id/executions GET /v2/agent/:agent_id/executions GET /executions/:execution_id/log GET /executions/:execution_id/debug ``` # Create extraction category API Source: https://www.bolna.ai/docs/api-reference/extraction-categories/create POST /agent/{agent_id}/extraction-categories Create an extraction category and attach it to an agent via POST /agent/{agent_id}/extraction-categories; the category owns the model used for its LLM pass. > [!NOTE] > > The category name must be unique among the agent's attached categories. Add dispositions to the category with the [Create Disposition](/docs/api-reference/dispositions/create) endpoint, passing this category's `id` as `category_id`. By default a new category runs after every call. Send a start rule (`min_duration_s`, `skip_voicemail`) to skip calls it shouldn't read, or the three follow-up fields (`parent_disposition_id`, `match_mode`, `match_values`) to run it after another category's answer. A combination that can't hold is refused with `400` and a `message` to show as is; see [Run rules](/docs/api-reference/extraction-categories/overview#run-rules). # Delete extraction category API Source: https://www.bolna.ai/docs/api-reference/extraction-categories/delete DELETE /extraction-categories/{category_id} Delete an extraction category and all of its dispositions via DELETE /extraction-categories/{category_id}. Deletion is permanent. > [!WARNING] > > Deleting a category **deletes all of its dispositions** — the category owns them. Deletion is permanent and cannot be undone. Historical call execution results that already contain output from this category's dispositions are not affected; only future calls stop evaluating them. To keep a disposition, move it to another category first by updating it with a different `category_id`. If a follow-up category runs after one of this category's dispositions, the delete is refused with `400` and a `message` naming the follow-up. Change or delete the follow-up first; see [Refused changes](/docs/api-reference/extraction-categories/overview#refused-changes). # List extraction categories API Source: https://www.bolna.ai/docs/api-reference/extraction-categories/list GET /agent/{agent_id}/extraction-categories Retrieve all extraction categories attached to an agent via GET /agent/{agent_id}/extraction-categories, each with the dispositions it owns. # Extraction categories API overview Source: https://www.bolna.ai/docs/api-reference/extraction-categories/overview Create and manage extraction categories — named sets of dispositions evaluated together in a single LLM pass after each call they run on. ## What are extraction categories? **Extractions** is the Bolna feature that automatically captures structured data from call transcripts after every call. A **category** is a named set of **dispositions** evaluated together in a single LLM pass — one category means one LLM call per conversation. Each disposition is a single question inside its category. ``` Agent └── Extractions (feature) └── Category (one LLM pass, owns the model) └── Disposition (a single question) ``` The category owns the `model` used for its pass: every disposition in the category is evaluated by the category's model in one call. A category belongs to the agent it was created for, and that agent runs every disposition the category holds. ## Endpoints ``` GET /agent/{agent_id}/extraction-categories List an agent's categories with their dispositions POST /agent/{agent_id}/extraction-categories Create a category and attach it to the agent PATCH /extraction-categories/{category_id} Rename a category, change its model or change when it runs DELETE /extraction-categories/{category_id} Delete a category and all of its dispositions ``` Dispositions are created and placed into categories through the [Dispositions API](/docs/api-reference/dispositions/overview): pass `category_id` (preferred) or a `category` name on create or update — at most one of the two per payload. A `category` name that does not match one of the agent's categories creates a fresh category. ## Category object ```json theme={"system"} { "id": "9b2e8f10-4c7d-4e2a-9f31-6a8d5c1b0e42", "name": "Lead Quality", "model": "gpt-4.1-mini", "agent_id": "123e4567-e89b-12d3-a456-426614174000", "created_at": "2026-03-01T10:00:00Z", "updated_at": "2026-03-15T14:30:00Z", "min_duration_s": null, "skip_voicemail": false, "parent_disposition_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "match_mode": "not_in", "match_values": ["Not_Interested", "Wrong_Number"] } ``` | Field | Type | Description | | - | - | - | | `id` | UUID | Unique identifier | | `name` | string | Category name, unique among the agent's attached categories | | `model` | string | LLM used for the category's extraction pass | | `agent_id` | UUID | The agent this category is attached to | | `created_at` | string | ISO 8601 timestamp when the category was created | | `updated_at` | string | ISO 8601 timestamp of the last update | | `min_duration_s` | integer \| null | Start rule: skip the category on calls shorter than this many seconds. `null` when not set | | `skip_voicemail` | boolean | Start rule: skip the category on calls that ended on voicemail, caught by Bolna's voicemail detection or the carrier's answering-machine detection. `false` when not set | | `parent_disposition_id` | UUID \| null | Follow-ups only: the disposition this category runs after. `null` for a starting category | | `match_mode` | string \| null | Follow-ups only: `in` or `not_in`. `null` for a starting category | | `match_values` | string\[] \| null | Follow-ups only: the parent answers `match_mode` checks. `null` for a starting category | All five rule fields are always present on category responses. See [Run rules](#run-rules). ## Supported models A category's `model` must be one of: | Provider | Models | | - | - | | OpenAI | `gpt-4.1-mini`, `gpt-4.1-nano`, `gpt-4o-mini`, `gpt-5-mini`, `gpt-5-nano`, `gpt-5.4-mini`, `gpt-5.6-luna`, `gpt-6-luna` | | Azure OpenAI | `azure/gpt-4.1-mini`, `azure/gpt-4.1-nano`, `azure/gpt-4o-mini`, `azure/gpt-5-mini`, `azure/gpt-5.4-mini`, `azure/gpt-5.4-nano`, `azure/gpt-5.6-luna` | | Google | `gemini-3.5-flash`, `gemini-3.5-flash-lite` | Any other value is rejected with a `422` error. `GET /dispositions/models` returns the same list. A category created implicitly by a `category` name on a disposition takes that disposition's `model`, falling back to `gpt-4.1-mini`. ### Azure OpenAI models An `azure/` model runs on Bolna's Azure OpenAI resource, like every other model on this list. To run a category on your own Azure resource instead, [connect your Azure account](https://platform.bolna.ai/auth/azure) and set the category's `managed_by` to `"user"`. When a category runs on your Azure resource: * **Deployment names:** your resource needs a deployment named after the model without the `azure/` prefix, for example `gpt-4.1-mini` for `azure/gpt-4.1-mini`. Bolna does not use the deployment name saved on the connection. * **API version:** extractions use the Azure OpenAI Responses API, which needs API version `2025-03-01-preview` or later. If the version saved on your connection is older, extractions use `2025-04-01-preview`. Your agents' calls keep the saved version. * **Region:** the Responses API and each model are available only in some Azure regions. Check [Azure OpenAI model availability](https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models) for your resource's region. If a deployment is missing or your key is rejected, the category's extractions come back empty for that call. Your agents' calls are not affected. ## Run rules Five fields on the category decide when it runs. Send them on create or update; they are returned on every category response. A category is one of two kinds: * **Starting category** — `parent_disposition_id` is `null`. Runs first, on every call that passes its start rule: `min_duration_s` (integer, `1` to `86400`) skips calls shorter than that many seconds, measured as the duration shown in call history, and `skip_voicemail: true` skips calls that ended on voicemail, caught by Bolna's [voicemail detection](/docs/agent-setup/call-tab#voicemail-detection) or the carrier's answering-machine detection. A call must pass every condition set; with none set the category runs on every call. * **Follow-up** — `parent_disposition_id`, `match_mode` and `match_values`, always together. Runs after the category that holds the parent disposition, when the parent's `objective` answer is (`in`) or is not (`not_in`) one of `match_values`, where a listed value also covers the sub-options under it. A follow-up never runs when the parent's category was skipped or failed or the parent's answer is `null`, in either mode. A follow-up can't set `min_duration_s` or `skip_voicemail: true`. For a follow-up: * The parent must be an objective disposition (`is_objective: true`) in another of the agent's categories. * Every `match_values` entry must be one of the parent's `objective_options` values, sub-options included, matched exactly. An answer of a sub-option also matches the value above it. * A category has one parent. A category can be the parent of any number of follow-ups, at any depth, but the chain can't loop. For a follow-up, POST to `/agent/{agent_id}/extraction-categories`: ```json Create a follow-up theme={"system"} { "name": "Lead Qualification", "model": "gpt-4.1-mini", "parent_disposition_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "match_mode": "not_in", "match_values": ["Not_Interested", "Wrong_Number"] } ``` On `PATCH`, only the fields you send change, and an explicit `null` clears a rule field. To switch a category from one kind to the other, clear the old fields in the same request: ```json Starting category to follow-up theme={"system"} { "min_duration_s": null, "skip_voicemail": false, "parent_disposition_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "match_mode": "in", "match_values": ["Interested"] } ``` ```json Follow-up to starting category theme={"system"} { "parent_disposition_id": null, "match_mode": null, "match_values": null, "min_duration_s": 30 } ``` Categories at the same step run in parallel, so each step of follow-ups adds one LLM call's wait before the post-call webhook. A skipped category makes no LLM call and is not billed; its dispositions still appear in `extracted_data` with `status: "skipped"` and a `status_reason` (see [Result status](/docs/prompting/extraction-output#result-status)). Rule changes apply to calls that end after the change; past results are not re-extracted. [Test dispositions](/docs/api-reference/dispositions/test) follows follow-ups, but start rules always pass there. ### Refused changes A change that would break a rule is refused with `400` and a `message` naming the category that carries the rule. The same response comes back from [Update disposition](/docs/api-reference/dispositions/update), [Delete disposition](/docs/api-reference/dispositions/delete) and [Delete category](/docs/api-reference/extraction-categories/delete) when the change would break a follow-up. The message is written to be shown to a user as is. ```json theme={"system"} { "message": "'Lead Qualification' runs after 'Outcome', which must keep its answer options" } ``` | Cause | `message` | | - | - | | A follow-up also sets `min_duration_s` or `skip_voicemail: true` | `'' runs after another question, so it cannot have start conditions` | | `parent_disposition_id` without `match_mode` or `match_values` | `'' needs match_mode and match_values to run after another question` | | `match_mode` or `match_values` without `parent_disposition_id` | `'' has match_mode or match_values but no parent_disposition_id` | | `parent_disposition_id` is not one of the agent's dispositions | `'' runs after a question that is not on this agent` | | The parent is not objective, or an update sets its `is_objective` to `false` | `'' runs after '', which must keep its answer options` | | A `match_values` entry is not one of the parent's options, or an update removes it | `'' lists [''], which '' does not offer as answers` | | Deleting the parent disposition, or the category that holds it | `Can't delete '': '' runs after its answers. Change those rules first.` (with several follow-ups: `'' and '' run after its answers`) | | The chain would loop, including a parent in the follow-up's own category | `'' would run after itself` | ## Lifecycle rules * **Move a disposition between categories**: update the disposition with the new `category_id` (see [Update Disposition](/docs/api-reference/dispositions/update)). There is no separate move endpoint. * **Renaming a category** rewrites the `category` label on all of its dispositions in the same transaction, so extraction results stay grouped consistently. * **Deleting a category deletes its dispositions.** The category owns them. Historical call execution results are not affected. A delete that would leave a follow-up without its parent is refused (see [Refused changes](#refused-changes)). * **Empty categories are removed automatically**: when a move or delete removes a category's last disposition, the category itself is deleted. * **Category names are per agent.** Two agents can each have a category named `Sales`; these are independent categories. * **An update must change something.** `PATCH` accepts any of `name`, `model`, `managed_by` and the five run-rule fields, but an empty body is rejected with a `422` error. > [!NOTE] > > For a full walkthrough of the Extractions feature, answer types, output format, and best practices, see the [Using Extractions](/docs/prompting/using-extractions) guide. # Update extraction category API Source: https://www.bolna.ai/docs/api-reference/extraction-categories/update PATCH /extraction-categories/{category_id} Rename an extraction category, change its model or change when it runs via PATCH /extraction-categories/{category_id}; renames update the category label on its dispositions. > [!NOTE] > > Send any of `name`, `model`, `managed_by` and the run-rule fields — an empty body is rejected. Renaming a category rewrites the `category` label on all of its dispositions in the same transaction. Changing `model` switches the LLM used for the category's extraction pass on subsequent calls. Only the fields you send change, and an explicit `null` clears a rule field. To switch a category between starting category and follow-up, clear the old kind's fields in the same request. A change that would break a follow-up is refused with `400` and a `message` to show as is. Rule changes apply to calls that end after the update. See [Run rules](/docs/api-reference/extraction-categories/overview#run-rules). # Set inbound agent API Source: https://www.bolna.ai/docs/api-reference/inbound/agent POST /inbound/setup Configure Bolna Voice AI agent to handle inbound calls automatically by associating it with a specific phone number using Bolna APIs. # Inbound Bolna voice AI agent APIs overview Source: https://www.bolna.ai/docs/api-reference/inbound/overview Discover how to set up Bolna Voice AI agents to answer inbound calls, enabling responsive communication channels. ## Endpoints ``` POST /inbound/setup POST /inbound/unlink ``` # Remove inbound agent API Source: https://www.bolna.ai/docs/api-reference/inbound/unlink POST /inbound/unlink Remove and unlink a Bolna Voice AI agent from a specific phone number to disable automated inbound voice call answering by AI agents. # Bolna API documentation Source: https://www.bolna.ai/docs/api-reference/introduction Use and leverage Bolna Voice AI using APIs through HTTP requests from any language in your applications and workflows. ## What is the Bolna API? The Bolna API enables you to programmatically create, configure, and manage Voice AI agents from your own applications. Whether you are building complex workflows, automating customer support, or integrating voice capabilities into your existing products, our REST API provides everything you need. The API uses predictable, resource-oriented URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes and authentication. > [!WARNING] > > You must have an active Bolna account to generate and use API keys. If you don't have one, [sign up here](https://platform.bolna.ai). *** ## Authentication All Bolna API endpoints require authentication using an API key. You must include this key in the `Authorization` header of all your HTTP requests using the `Bearer` scheme. ### How to generate an API key **1. Navigate to API Keys** Log in to the [Bolna Dashboard](https://platform.bolna.ai). In the left sidebar, expand the **Developers** group and select **API Keys**. ![Bolna dashboard sidebar showing the Developers group with the API Keys item](https://mintcdn.com/bolna-54a2d4fe/vO9SaOM8uLqcCkOh/images/api_introduction_1.1.png?fit=max\&auto=format\&n=vO9SaOM8uLqcCkOh\&q=85\&s=a2f79446775064b9ad4899455cef1eee) Open Developers → API Keys in the Bolna Dashboard **2. Create a new API Key** Click the **Create a new API Key** button to generate your unique authentication credentials. ![Developers page with the Create a new API Key button above a table of existing keys listing Key Identifier, masked API Key, Created By, Last Accessed, Created At and a delete icon](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/api_introduction_2.1.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=183c060407452a3947ec0fc4adce7471) Click 'Create a new API Key' to generate your credentials **3. Save your API Key securely** Your newly generated API key will be displayed in a pop-up modal. **Copy this key and save it securely.** ![Your API Key modal with the generated key in a read-only field, a copy button, the auto-generated Key Name and an I have copied and saved the API Key button](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/api_introduction_3.1.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=5e2722014c0d21d0462c36613701d334) Copy and save your API Key - it won't be shown again > [!WARNING] > > **For your security, the API key will only be shown once.** If you lose your API key, you will need to delete it and generate a new one. > [!TIP] > > API keys generated for a **Subaccount** will start with `sa-`. *** # Create knowledge base API Source: https://www.bolna.ai/docs/api-reference/knowledgebase/create POST /knowledgebase Upload a PDF document or provide a URL to create a knowledge base, enhancing your Bolna Voice AI agent's information base and response accuracy. # Delete knowledge base API Source: https://www.bolna.ai/docs/api-reference/knowledgebase/delete DELETE /knowledgebase/{rag_id} Remove and delete an existing knowledge base from your Bolna account maintaining your Bolna Voice AI agents up to date. # Get knowledge base API Source: https://www.bolna.ai/docs/api-reference/knowledgebase/get_knowledgebase GET /knowledgebase/{rag_id} Retrieve details of a specific knowledge base, including its ID, file name, creation time, and status, using Bolna APIs. # List all knowledge bases API Source: https://www.bolna.ai/docs/api-reference/knowledgebase/get_knowledgebases GET /knowledgebase/all Retrieve all knowledge bases in your Bolna account with the List all knowledge bases API, including each one's status and creation date. # Knowledge bases overview Source: https://www.bolna.ai/docs/api-reference/knowledgebase/overview Learn how to ingest PDFs and URLs as knowledge bases for your Bolna Voice AI agents. Agents can use multiple knowledge bases simultaneously. ## Endpoints ``` POST /knowledgebase GET /knowledgebase/:rag_id GET /knowledgebase/all DELETE /knowledgebase/:rag_id ``` # Limits & quotas Source: https://www.bolna.ai/docs/api-reference/limits Reference for concurrency, rate limits, batch and CSV size caps, webhook delivery, and wallet requirements that apply across the Bolna API. ## Concurrency Concurrency is the number of simultaneous active calls your account can run. Check your current concurrency in `GET /user/me`: ```json theme={"system"} { "concurrency": { "max": 10, "current": 3 } } ``` To increase your concurrency limit, contact [support@bolna.ai](mailto:support@bolna.ai) or upgrade your plan. See [Outbound Calling Concurrency](/docs/pricing/outbound-calling-concurrency) for scheduling behavior when the limit is reached. ## Rate limits The API is rate-limited per account. If you exceed the limit you receive HTTP `429`. Apply exponential backoff and retry: ```python theme={"system"} import time def call_with_backoff(fn, max_retries=5): for i in range(max_retries): status, data = fn() if status != 429: return status, data time.sleep(2 ** i) raise Exception("Rate limit exceeded after retries") ``` ## Batch limits | Limit | Value | | - | - | | Minimum `scheduled_at` lead time | 2 minutes | | Start rounding | Rounds up to next 10-minute mark | | `scheduled_at` format | ISO 8601 with numeric offset (e.g. `+00:00`) — `Z` suffix rejected | | Maximum CSV rows | Contact support for high-volume batches | ## CSV requirements | Field | Rule | | - | - | | `contact_number` column | **Required** — E.164 format (e.g. `+919876543210`) | | Additional columns | Optional — become `{variable}` substitutions in prompt | | File type | CSV (`text/csv`) | | Encoding | UTF-8 | ## Webhook delivery | Property | Value | | - | - | | Source IPs | `13.203.39.153`, `13.126.9.249`, `13.202.133.53` — whitelist all three on your server | | Events per call | Multiple (status changes: queued → in-progress → call-disconnected → completed) | | Expected response | HTTP `200` — return fast; Bolna retries on non-2xx or timeout | ## Wallet & balance Calls require wallet credits. A `balance-low` execution status means the call was not placed due to insufficient balance. Top up from the [dashboard](https://platform.bolna.ai) or contact support for invoice billing. # Pagination for Bolna APIs Source: https://www.bolna.ai/docs/api-reference/pagination Learn how to use pagination in Bolna Voice AI APIs using `page_number` and `page_size` to fetch results efficiently and build scalable workflows. The endpoints also support pagination using the `page_number` and `page_size` query parameters. This allows you to fetch large sets of results in smaller, manageable chunks. ## Query parameters * `page_number` (integer, optional): The page of results to retrieve. Defaults to `1`. The first page starts at `1`. * `page_size` (integer, optional): The number of results per page. Defaults to `20`. You can request up to `50` results per page. ## How it works The API uses offset-based pagination under the hood. For example: | page\_number | page\_size | Returned records | | - | - | - | | 1 | 10 | Records 1–10 | | 2 | 10 | Records 11–20 | | 3 | 5 | Records 11–15 | ## Example request ```curl example-request theme={"system"} GET /v2/agent/1234/executions?page_number=2&page_size=5 ``` ```json example-response theme={"system"} { "total": 38, "page": 2, "page_size": 5, "has_more": true, "data": [ { "id": "ex_101", "status": "success", "created_at": "..." }, { "id": "ex_102", "status": "failed", "created_at": "..." }, ... ] } ``` ## Tips * Use `has_more` to determine if you should fetch the next page. * Combine pagination with filters supported in the API to narrow results efficiently. # Buy phone numbers API Source: https://www.bolna.ai/docs/api-reference/phone-numbers/buy POST /phone-numbers/buy Buy virtual phone numbers with full purchase, pricing, and provider details to use with Bolna Voice agents for outbound and inbound calls. # Delete phone numbers API Source: https://www.bolna.ai/docs/api-reference/phone-numbers/delete DELETE /phone-numbers/{phone_number_id} Delete a purchased phone number from your Bolna account to stop billing for it and remove it permanently from your active inventory. # List phone numbers API Source: https://www.bolna.ai/docs/api-reference/phone-numbers/get_all GET /phone-numbers/all Retrieve all phone numbers associated with your account, including details like creation date and telephony provider like Twilio, Plivo, etc. # Move phone number API Source: https://www.bolna.ai/docs/api-reference/phone-numbers/move POST /phone-numbers/move Move a phone number between the main account and sub-accounts in your Bolna organization. An enterprise feature that needs sub-accounts. > [!NOTE] > > This is an `enterprise` feature and requires an organization account with [sub-accounts](/docs/api-reference/sub-accounts/overview). Use this API to move a phone number from one sub-account to another, from the main account to a sub-account, or from a sub-account back to the main account. It changes which account owns the number. To transfer a live call to another number, see [call transfer](/docs/tool-calling/transfer-calls). * Pass `null` for `source_sub_account_id` or `target_sub_account_id` to refer to the main (organization) account. * `source_sub_account_id` must match the sub-account the number currently belongs to. * The phone number must not be linked to an agent. [Unlink the inbound agent](/docs/api-reference/inbound/unlink) before moving it. * Multi-tenant sub-accounts are not supported as a source or target. This endpoint was previously `POST /phone-numbers/transfer`. That path still works but is deprecated, so use `/phone-numbers/move` in new integrations. # Phone numbers APIs overview Source: https://www.bolna.ai/docs/api-reference/phone-numbers/overview Manage your phone numbers effectively using Bolna APIs, including buying, listing, deleting and associating numbers with Bolna Voice AI agents. ## Endpoints ``` GET /phone-numbers/all GET /phone-numbers/search POST /phone-numbers/buy POST /phone-numbers/move DELETE /phone-numbers/{phone_number_id} ``` # Search phone numbers API Source: https://www.bolna.ai/docs/api-reference/phone-numbers/search GET /phone-numbers/search Search available phone numbers by region, locality, or pattern, with price to use them with Bolna Voice agents. # Add a new provider API Source: https://www.bolna.ai/docs/api-reference/providers/add POST /providers Learn how to securely add a new provider to your Bolna account by specifying the provider's name and associated credentials. You can add your own providers securely in Bolna — the API equivalent of connecting one from **Settings → Integrations** in the dashboard. Please [read this page](/docs/providers) for more information about all current supported providers. # List providers API Source: https://www.bolna.ai/docs/api-reference/providers/get GET /providers Retrieve all providers associated with your Bolna account, including their IDs, names, and creation timestamps. # Providers APIs overview Source: https://www.bolna.ai/docs/api-reference/providers/overview Add and manage your own providers in Bolna via API, the same telephony and voice providers you connect under Settings → Integrations. > [!NOTE] > > You can add your own providers securely in Bolna. These are the same providers you connect from **Settings → Integrations** in the dashboard. > > Please [read this page](/docs/providers) for more information about all current supported providers. ## Endpoints ``` POST /providers GET /providers DELETE /providers/:provider_key_name ``` # Remove a provider API Source: https://www.bolna.ai/docs/api-reference/providers/remove DELETE /providers/{provider_key_name} Delete a previously added provider from your Bolna account with the Remove provider API, keeping your connected integrations current. # Rate limiting for Bolna APIs Source: https://www.bolna.ai/docs/api-reference/rate-limiting Rate limits for Bolna API endpoints, applied per organization or per user, including endpoint-specific limits such as 500 requests a minute. All Bolna API endpoints are subject to rate limiting to ensure fair usage and maintain platform stability. Rate limits are applied per **organization** (if the user belongs to one) or per **user** otherwise. ## Rate limits ### Endpoint-specific limits The following endpoints have specific rate limits: | Endpoint | Rate Limit | | - | - | | [/v2/agent//executions](/docs/api-reference/executions/get_executions) | 500 requests/minute | | [/v2/agent/](/docs/api-reference/agent/v2/get) | 500 requests/minute | | [/call](/docs/api-reference/calls/make) | 500 requests/minute | ### Default limit All other API endpoints are subject to a default rate limit of **1000 requests per minute**. ## How rate limits are applied * If your account is part of an **organization**, the rate limit is shared across all users within that organization. * If your account is **not** part of an organization, the rate limit applies to your individual user account. ## Exceeding the rate limit If you exceed the rate limit for an endpoint, the API will return an **HTTP 429 (Too Many Requests)** response. When this happens: * Wait before retrying the request. * Implement exponential backoff in your application to gracefully handle rate limit responses. ## Best practices * **Cache responses** where possible to reduce the number of API calls. * **Use webhooks** instead of polling for call status updates to minimize requests to execution endpoints. * **Spread requests** evenly over time rather than sending them in bursts. * **Monitor your usage** and implement client-side rate limiting to stay within the allowed limits. # Add phone number to trunk Source: https://www.bolna.ai/docs/api-reference/sip-trunks/add_number POST /sip-trunks/trunks/{trunk_id}/numbers Add a DID phone number to your SIP trunk using the Bolna API. Assign numbers for inbound and outbound voice calling on your trunk. > [!WARNING] > > **Legacy SIP trunks (deprecated).** These `/sip-trunks` endpoints manage legacy SIP trunks. Existing legacy trunks keep working, but use the [SIP trunks API](/docs/api-reference/trunks/overview) for every new setup, and see [Migrate to SIP trunks](/docs/migrating-to-sip-trunks/overview) to move an existing trunk. ## Next steps After adding a phone number, [patch your agent's telephony provider to `sip-trunk`](/docs/api-reference/agent/v2/patch_update). # Create SIP trunk Source: https://www.bolna.ai/docs/api-reference/sip-trunks/create POST /sip-trunks/trunks Create a new SIP trunk on Bolna and register it with your gateway details. Set up your trunk for inbound and outbound voice calling. > [!WARNING] > > **Legacy SIP trunks (deprecated).** These `/sip-trunks` endpoints manage legacy SIP trunks. Existing legacy trunks keep working, but use the [SIP trunks API](/docs/api-reference/trunks/overview) for every new setup, and see [Migrate to SIP trunks](/docs/migrating-to-sip-trunks/overview) to move an existing trunk. ## Next steps After creating your trunk, [add a phone number to it](/docs/api-reference/sip-trunks/add_number). # Delete SIP trunk Source: https://www.bolna.ai/docs/api-reference/sip-trunks/delete DELETE /sip-trunks/trunks/{trunk_id} Permanently delete a SIP trunk and all associated resources including gateways, IP identifiers, and phone numbers. > [!WARNING] > > **Legacy SIP trunks (deprecated).** These `/sip-trunks` endpoints manage legacy SIP trunks. Existing legacy trunks keep working, but use the [SIP trunks API](/docs/api-reference/trunks/overview) for every new setup, and see [Migrate to SIP trunks](/docs/migrating-to-sip-trunks/overview) to move an existing trunk. # Get SIP trunk Source: https://www.bolna.ai/docs/api-reference/sip-trunks/get GET /sip-trunks/trunks/{trunk_id} Get a single SIP trunk with full details including gateways, IP identifiers, and phone numbers. Look up any trunk by its ID. > [!WARNING] > > **Legacy SIP trunks (deprecated).** These `/sip-trunks` endpoints manage legacy SIP trunks. Existing legacy trunks keep working, but use the [SIP trunks API](/docs/api-reference/trunks/overview) for every new setup, and see [Migrate to SIP trunks](/docs/migrating-to-sip-trunks/overview) to move an existing trunk. # List SIP trunks Source: https://www.bolna.ai/docs/api-reference/sip-trunks/get_all GET /sip-trunks/trunks List all SIP trunks configured in your Bolna account. Filter by active status and view trunk details including gateways and phone numbers. > [!WARNING] > > **Legacy SIP trunks (deprecated).** These `/sip-trunks` endpoints manage legacy SIP trunks. Existing legacy trunks keep working, but use the [SIP trunks API](/docs/api-reference/trunks/overview) for every new setup, and see [Migrate to SIP trunks](/docs/migrating-to-sip-trunks/overview) to move an existing trunk. # List phone numbers on trunk Source: https://www.bolna.ai/docs/api-reference/sip-trunks/list_numbers GET /sip-trunks/trunks/{trunk_id}/numbers List all phone numbers associated with a SIP trunk. View assigned DID numbers and manage your trunk number inventory. > [!WARNING] > > **Legacy SIP trunks (deprecated).** These `/sip-trunks` endpoints manage legacy SIP trunks. Existing legacy trunks keep working, but use the [SIP trunks API](/docs/api-reference/trunks/overview) for every new setup, and see [Migrate to SIP trunks](/docs/migrating-to-sip-trunks/overview) to move an existing trunk. # SIP trunk API reference Source: https://www.bolna.ai/docs/api-reference/sip-trunks/overview API endpoints for managing SIP trunks, gateways, and phone numbers on Bolna. Create, update, list, and delete trunks programmatically. > [!WARNING] > > **Legacy SIP trunks (deprecated).** These `/sip-trunks` endpoints manage legacy SIP trunks. Existing legacy trunks keep working, but use the [SIP trunks API](/docs/api-reference/trunks/overview) for every new setup, and see [Migrate to SIP trunks](/docs/migrating-to-sip-trunks/overview) to move an existing trunk. ## Endpoints ### Trunks | Method | Endpoint | Description | | - | - | - | | `POST` | [`/sip-trunks/trunks`](/docs/api-reference/sip-trunks/create) | Create a new SIP trunk | | `GET` | [`/sip-trunks/trunks`](/docs/api-reference/sip-trunks/get_all) | List all SIP trunks | | `GET` | [`/sip-trunks/trunks/{trunk_id}`](/docs/api-reference/sip-trunks/get) | Get a single SIP trunk | | `PATCH` | [`/sip-trunks/trunks/{trunk_id}`](/docs/api-reference/sip-trunks/update) | Update a SIP trunk | | `DELETE` | [`/sip-trunks/trunks/{trunk_id}`](/docs/api-reference/sip-trunks/delete) | Delete a SIP trunk | ### Phone numbers | Method | Endpoint | Description | | - | - | - | | `POST` | [`/sip-trunks/trunks/{trunk_id}/numbers`](/docs/api-reference/sip-trunks/add_number) | Add a phone number to a trunk | | `GET` | [`/sip-trunks/trunks/{trunk_id}/numbers`](/docs/api-reference/sip-trunks/list_numbers) | List phone numbers on a trunk | | `DELETE` | [`/sip-trunks/trunks/{trunk_id}/numbers/{phone_number_id}`](/docs/api-reference/sip-trunks/remove_number) | Remove a phone number from a trunk | # Remove phone number from trunk Source: https://www.bolna.ai/docs/api-reference/sip-trunks/remove_number DELETE /sip-trunks/trunks/{trunk_id}/numbers/{phone_number_id} Remove a phone number from a legacy SIP trunk. If the number was mapped to an agent, that mapping is removed too. New setups use the SIP trunks API. > [!WARNING] > > **Legacy SIP trunks (deprecated).** These `/sip-trunks` endpoints manage legacy SIP trunks. Existing legacy trunks keep working, but use the [SIP trunks API](/docs/api-reference/trunks/overview) for every new setup, and see [Migrate to SIP trunks](/docs/migrating-to-sip-trunks/overview) to move an existing trunk. # Update SIP trunk Source: https://www.bolna.ai/docs/api-reference/sip-trunks/update PATCH /sip-trunks/trunks/{trunk_id} Partially update an existing SIP trunk on Bolna using a PATCH request. Only the fields you include in the request body will be changed. > [!WARNING] > > **Legacy SIP trunks (deprecated).** These `/sip-trunks` endpoints manage legacy SIP trunks. Existing legacy trunks keep working, but use the [SIP trunks API](/docs/api-reference/trunks/overview) for every new setup, and see [Migrate to SIP trunks](/docs/migrating-to-sip-trunks/overview) to move an existing trunk. # Get all sub-accounts usage API Source: https://www.bolna.ai/docs/api-reference/sub-accounts/all_usage GET /sub-accounts/all/usage Retrieve aggregated usage, consumption and cost breakdowns for every sub-account in your organization. An enterprise feature of Bolna. > [!NOTE] > > This is an `enterprise` feature. > > You can read more about our enterprise offering here [Bolna enterprise](/docs/enterprise/plan). ## Summary This endpoint returns aggregated usage data for **all sub-accounts** associated with the authenticated user's organization.\ It provides fine-grained insight into usage, consumption, and cost breakdowns for each sub-account. ## Endpoint ```yaml theme={"system"} GET /sub-accounts/all/usage ``` # Create a new sub-account API Source: https://www.bolna.ai/docs/api-reference/sub-accounts/create POST /sub-accounts/create Create a new sub-account using the Bolna API to define separate workspaces with custom configurations for enterprise-level management. > [!NOTE] > > This is an `enterprise` feature. > > You can read more about our enterprise offering here [Bolna enterprise](/docs/enterprise/plan). Only **organization admins** can create sub-accounts. ## Concurrency Every sub-account is created with a concurrency envelope: * **`min_concurrency`** — concurrency guaranteed to this sub-account even when the organization is at capacity. Use `0` for no guarantee. * **`max_concurrency`** — the sub-account's hard cap. **Omit it for an elastic** sub-account that can burst into the organization's unused capacity; set `0` to pause the sub-account. The request is rejected with `400` if the per-account minimums or maximums would exceed the organization's envelope. See [Concurrency management](/docs/enterprise/concurrency-management) for how guarantees, caps, and shared capacity work together. # Deleting a sub-account Source: https://www.bolna.ai/docs/api-reference/sub-accounts/delete DELETE /sub-accounts/{sub_account_id} Use Bolna APIs to delete a sub-account and their related data, ensuring proper cleanup of agents, batches, executions, and configurations. > [!WARNING] > > This deletes **ALL** the data for that sub-account's batches, executions and agents. # List all sub-accounts API Source: https://www.bolna.ai/docs/api-reference/sub-accounts/get_all GET /sub-accounts/all Retrieve all sub-accounts linked to your main Bolna account for centralized visibility and management. An enterprise feature. > [!NOTE] > > This is an `enterprise` feature. > > You can read more about our enterprise offering here [Bolna enterprise](/docs/enterprise/plan). # Sub accounts APIs overview Source: https://www.bolna.ai/docs/api-reference/sub-accounts/overview Manage multiple customers or business units with Bolna Sub-Accounts API. Create, list, and track usage with clear data separation and control. > [!NOTE] > > This is an `enterprise` feature. > You can read more about our enterprise offering here [Bolna enterprise](/docs/enterprise/plan). ## Endpoints ``` POST /sub-accounts/create GET /sub-accounts/all GET /sub-accounts/:sub_account_id/usage ``` # Patch update a sub-account Source: https://www.bolna.ai/docs/api-reference/sub-accounts/patch_update PATCH /sub-accounts/{sub_account_id} Use this Bolna API endpoint to partially modify and update sub-account properties, including its name and concurrency limits. > [!NOTE] > > This is a partial update — send only the fields you want to change. The following can be updated: > > * `name` > * `min_concurrency` — guaranteed concurrency floor (`0` = no guarantee) > * `max_concurrency` — hard cap; omit to leave unchanged, send `null` to make the sub-account elastic, `0` to pause it > > Only **organization admins** can update sub-accounts. Omitting a concurrency field leaves it unchanged; the edit is rejected with `400` if it would break the organization's concurrency envelope. See [Concurrency management](/docs/enterprise/concurrency-management) for how guarantees, caps, and shared capacity work together. # Track sub-account usage API Source: https://www.bolna.ai/docs/api-reference/sub-accounts/usage GET /sub-accounts/{sub_account_id}/usage Track usage for one Bolna sub-account, with fine-grained insight into its usage, consumption and billing. An enterprise feature. > [!NOTE] > > This is an `enterprise` feature. > > You can read more about our enterprise offering here [Bolna enterprise](/docs/enterprise/plan). # Add carrier IP to SIP trunk API Source: https://www.bolna.ai/docs/api-reference/trunks/add_carrier_ip POST /trunk/trunks/{trunk_id}/ip-acls Allow inbound calls from your carrier by adding its signalling address or CIDR range via POST /trunk/trunks/{trunk_id}/ip-acls. > [!NOTE] > > Add every signalling address your carrier publishes for inbound calls. Bolna's SIP edge answers an INVITE from any other source with `403 Forbidden`. # Add gateway to SIP trunk API Source: https://www.bolna.ai/docs/api-reference/trunks/add_gateway POST /trunk/trunks/{trunk_id}/gateways Add a carrier SIP host that outbound calls are sent to via POST /trunk/trunks/{trunk_id}/gateways; gateways are tried in priority order. # Add number to SIP trunk API Source: https://www.bolna.ai/docs/api-reference/trunks/add_number POST /trunk/trunks/{trunk_id}/numbers Add a phone number from your carrier to a SIP trunk via POST /trunk/trunks/{trunk_id}/numbers, optionally with the agent that answers it. > [!NOTE] > > `e164` must be in E.164 format with the plus. Set `destination_key` to the called number exactly as your carrier sends it in the SIP Request-URI, without a leading `+`; for most carriers that is the E.164 digits. ## Next steps * [Assign an agent](/docs/api-reference/trunks/assign_agent) to answer inbound calls to the number. * To call out from the number, set the agent's telephony provider to `trunk` with the [Update agent API](/docs/api-reference/agent/v2/patch_update) and pass the number as `from_phone_number` to [`POST /call`](/docs/api-reference/calls/make). # Assign agent to SIP trunk number API Source: https://www.bolna.ai/docs/api-reference/trunks/assign_agent PATCH /trunk/numbers/{number_id} Set or clear the agent that answers inbound calls to a SIP trunk number via PATCH /trunk/numbers/{number_id}, with the trunk default as fallback. > [!WARNING] > > An empty body clears the number's agent, the same as `{"agent_id": null}`. Calls to a number with no agent go to the trunk's `default_inbound_agent_id`, and are refused when that is not set either. # Get SIP trunk connection details API Source: https://www.bolna.ai/docs/api-reference/trunks/connection_details GET /trunk/pop Get Bolna's SIP edge values to configure at your carrier via GET /trunk/pop: SIP domain, port, transports, signalling IPs and RTP port range. > [!NOTE] > > Allowlist every address in `ips` at your carrier, even if only one of them sends traffic today. # Create SIP trunk API Source: https://www.bolna.ai/docs/api-reference/trunks/create POST /trunk/trunks Create a SIP trunk to your own carrier via POST /trunk/trunks, with gateways for outbound calls and carrier IPs for inbound calls. > [!NOTE] > > This endpoint returns `200`, not `201`. Send the carrier's credentials only if it challenges Bolna's outbound calls; a carrier that authenticates Bolna by IP needs Bolna's signalling IPs from [`GET /trunk/pop`](/docs/api-reference/trunks/connection_details) on its allowlist instead. ## Next steps * [Add your carrier's numbers](/docs/api-reference/trunks/add_number) to the trunk. * Point your carrier at the values from [`GET /trunk/pop`](/docs/api-reference/trunks/connection_details). # Delete SIP trunk API Source: https://www.bolna.ai/docs/api-reference/trunks/delete DELETE /trunk/trunks/{trunk_id} Delete a SIP trunk with its gateways, carrier IPs and numbers via DELETE /trunk/trunks/{trunk_id}; inbound and outbound calls on it stop. > [!WARNING] > > Deleting a trunk removes its gateways, carrier IPs and numbers with it. Inbound calls to its numbers are refused, and agents can no longer place calls from them. Add the numbers to another trunk to keep using them. # Get SIP trunk API Source: https://www.bolna.ai/docs/api-reference/trunks/get GET /trunk/trunks/{trunk_id} Retrieve one SIP trunk via GET /trunk/trunks/{trunk_id}, with its gateways, carrier IPs, numbers, health and active calls. # List SIP trunks API Source: https://www.bolna.ai/docs/api-reference/trunks/list GET /trunk/trunks List your SIP trunks via GET /trunk/trunks, each with its gateways, carrier IPs, numbers, health and active calls. # List SIP trunk calls API Source: https://www.bolna.ai/docs/api-reference/trunks/list_calls GET /trunk/trunks/{trunk_id}/calls List recent inbound and outbound calls on a SIP trunk's numbers via GET /trunk/trunks/{trunk_id}/calls, with outcome and SIP code. # SIP trunks API overview Source: https://www.bolna.ai/docs/api-reference/trunks/overview Connect your own SIP carrier to Bolna with the /trunk API: trunks, gateways for outbound calls, carrier IPs for inbound calls, and numbers mapped to agents. A **SIP trunk** connects your own SIP carrier to Bolna. Your carrier keeps your numbers and bills your minutes; Bolna's SIP edge receives your inbound calls and sends your agents' outbound calls to the carrier. For a step-by-step setup, see the [SIP trunks overview](/docs/sip-trunking/overview) and [Connect your carrier](/docs/sip-trunking/connect-carrier) guides. ## Resource model ``` SIP trunk settings: channels, transport, codecs, carrier credentials ├── Gateways carrier SIP hosts that outbound calls are sent to ├── Carrier IPs carrier addresses that inbound calls are accepted from (ip_acls) └── Numbers your carrier's numbers, in E.164 └── Agent answers inbound calls to the number ``` * **Gateways** are only needed for outbound calls. They are tried in ascending `priority`, and a carrier failure that another gateway could fix moves on to the next one. * **Carrier IPs** are only needed for inbound calls. Bolna's SIP edge refuses an INVITE from any address that is not on an active, inbound-enabled trunk's carrier IP list. * **Numbers** carry the agent that answers inbound calls to them. A number without an agent is answered by the trunk's `default_inbound_agent_id`. The same number is the caller ID for outbound calls. ## Bolna's connection details [`GET /trunk/pop`](/docs/api-reference/trunks/connection_details) returns the values you configure at your carrier: the SIP domain and port to send inbound calls to, the transports the edge accepts, the signalling IPs to allowlist, and the RTP port range. They are the same for every trunk. ## How calls use a trunk **Inbound.** Your carrier sends the INVITE to Bolna's SIP domain. The edge accepts it only from one of your carrier IPs, matches the called number (the Request-URI user part) to a number's `e164` and then its `destination_key`, and answers with that number's agent. The INVITE must carry an SDP offer. **Outbound.** Set the agent's telephony provider to `trunk` with the [Update agent API](/docs/api-reference/agent/v2/patch_update) (`"agent_config": {"telephony_provider": "trunk"}`), then call [`POST /call`](/docs/api-reference/calls/make) with one of your trunk numbers as `from_phone_number`. The trunk must be active, outbound-enabled and have at least one gateway. If the carrier challenges the call, Bolna answers with the trunk's `auth_username` and `auth_password`. A trunk's `channels` caps its concurrent calls, inbound and outbound combined. An inbound call over the cap is refused with SIP `486 Busy Here`; an outbound call over it waits in your call queue until a channel is free. ## Endpoints ### Trunks | Method | Endpoint | Description | | - | - | - | | `GET` | [`/trunk/trunks`](/docs/api-reference/trunks/list) | List your SIP trunks | | `POST` | [`/trunk/trunks`](/docs/api-reference/trunks/create) | Create a SIP trunk | | `GET` | [`/trunk/trunks/{trunk_id}`](/docs/api-reference/trunks/get) | Get a SIP trunk | | `PATCH` | [`/trunk/trunks/{trunk_id}`](/docs/api-reference/trunks/update) | Update a trunk's settings | | `DELETE` | [`/trunk/trunks/{trunk_id}`](/docs/api-reference/trunks/delete) | Delete a trunk with its gateways, carrier IPs and numbers | ### Gateways and carrier IPs | Method | Endpoint | Description | | - | - | - | | `POST` | [`/trunk/trunks/{trunk_id}/gateways`](/docs/api-reference/trunks/add_gateway) | Add a gateway for outbound calls | | `DELETE` | [`/trunk/trunks/{trunk_id}/gateways/{gateway_id}`](/docs/api-reference/trunks/remove_gateway) | Remove a gateway | | `POST` | [`/trunk/trunks/{trunk_id}/ip-acls`](/docs/api-reference/trunks/add_carrier_ip) | Add a carrier IP for inbound calls | | `DELETE` | [`/trunk/trunks/{trunk_id}/ip-acls/{acl_id}`](/docs/api-reference/trunks/remove_carrier_ip) | Remove a carrier IP | ### Numbers | Method | Endpoint | Description | | - | - | - | | `POST` | [`/trunk/trunks/{trunk_id}/numbers`](/docs/api-reference/trunks/add_number) | Add a number to a trunk | | `DELETE` | [`/trunk/trunks/{trunk_id}/numbers/{number_id}`](/docs/api-reference/trunks/remove_number) | Remove a number from a trunk | | `PATCH` | [`/trunk/numbers/{number_id}`](/docs/api-reference/trunks/assign_agent) | Assign or clear the number's inbound agent | ### Calls and connection details | Method | Endpoint | Description | | - | - | - | | `GET` | [`/trunk/trunks/{trunk_id}/calls`](/docs/api-reference/trunks/list_calls) | List recent calls on a trunk's numbers | | `GET` | [`/trunk/pop`](/docs/api-reference/trunks/connection_details) | Get Bolna's SIP edge values for your carrier | ## Limits and formats | Field | Rule | | - | - | | `name` | 1–100 characters | | `description` | Up to 500 characters | | `channels` | 1–1000, default `10` | | `transport` | `udp` (default) or `tcp` | | `codecs` | Comma-separated subset of `PCMU` and `PCMA`, default `PCMU,PCMA` | | `auth_username`, `auth_password` | Set or cleared together; no quotes, `\|`, `{`, `}`, `\` or control characters | | Gateways | Up to 8 per trunk. `host` is an IPv4 address or DNS name, `port` 1–65535 (default `5060`), `priority` 0–100 (default `0`, lowest tried first) | | Carrier IPs | Up to 32 per trunk. Public IPv4 addresses or CIDR ranges no broader than `/16` | | `e164` | E.164 with the plus, such as `+12025550143` | | Numbers | A number can be live on only one trunk on Bolna at a time | ## Errors Write endpoints return `200`, including the create endpoints. Error bodies take one of three shapes: | Status | Body | When | | - | - | - | | `400` | `{"message": "..."}` | A value is refused, such as a private gateway address, a carrier IP broader than `/16`, or an agent that is not yours (`agent not in tenant`) | | `403` | `{"message": "..."}` | The sub-account key's sub-account belongs to no organisation | | `404` | `{"message": "..."}` | The trunk, gateway, carrier IP or number does not exist or is not yours; `message` names the ID | | `409` | `{"detail": {"code": "...", "message": "..."}}` | `number_taken` or `convert_in_progress` | | `422` | `{"detail": [{"loc": [...], "msg": "...", "type": "..."}]}` | The request failed validation, including any unknown field in the body | Trunks belong to your organisation and are shared by its members. A sub-account API key reaches only the trunks created under that sub-account, and an agent assigned to a number must belong to the same organisation and sub-account. > [!NOTE] > > The `/sip-trunks` endpoints are [Legacy SIP trunks (deprecated)](/docs/api-reference/sip-trunks/overview). Existing legacy trunks keep working; use the `/trunk` endpoints for every new setup, and see [Migrate to SIP trunks](/docs/migrating-to-sip-trunks/overview) to move an existing one. # Remove carrier IP from SIP trunk API Source: https://www.bolna.ai/docs/api-reference/trunks/remove_carrier_ip DELETE /trunk/trunks/{trunk_id}/ip-acls/{acl_id} Stop accepting inbound calls from a carrier address on a SIP trunk via DELETE /trunk/trunks/{trunk_id}/ip-acls/{acl_id}. # Remove gateway from SIP trunk API Source: https://www.bolna.ai/docs/api-reference/trunks/remove_gateway DELETE /trunk/trunks/{trunk_id}/gateways/{gateway_id} Remove a gateway from a SIP trunk via DELETE /trunk/trunks/{trunk_id}/gateways/{gateway_id}; outbound calls stop using it. # Remove number from SIP trunk API Source: https://www.bolna.ai/docs/api-reference/trunks/remove_number DELETE /trunk/trunks/{trunk_id}/numbers/{number_id} Remove a phone number from a SIP trunk via DELETE /trunk/trunks/{trunk_id}/numbers/{number_id}; inbound calls to it are refused. # Update SIP trunk API Source: https://www.bolna.ai/docs/api-reference/trunks/update PATCH /trunk/trunks/{trunk_id} Change a SIP trunk's settings via PATCH /trunk/trunks/{trunk_id}. Only fields you send change; gateways, carrier IPs and numbers have their own endpoints. > [!NOTE] > > To change a gateway or a carrier IP, remove it and add the new one. To change which agent answers a number, use [Assign agent to number](/docs/api-reference/trunks/assign_agent). # Add a custom TTS voice Source: https://www.bolna.ai/docs/api-reference/user/add_custom_tts POST /user/tts/custom Register a voice from your own OpenAI-compatible text-to-speech server so Bolna voice agents can speak with it. Registers one voice from your text-to-speech server, with the model, endpoint and key Bolna uses to call it. Send `custom_tts_key` as an empty string if your server has no authentication. Read more in [Custom TTS](/docs/custom-tts). # Add a new custom LLM model Source: https://www.bolna.ai/docs/api-reference/user/add_model POST /user/model/custom Add your own custom Large Language Model to Bolna via API and select it as the LLM for your Bolna voice AI agents. This request specifies how to add your own Custom LLM Models and use it with Bolna Voice AI agents. Please read about it more from [Custom LLMs](/docs/custom-llm-inference) # Delete a custom TTS voice Source: https://www.bolna.ai/docs/api-reference/user/delete_custom_tts DELETE /user/tts/custom/{custom_tts_id} Delete a custom text-to-speech voice and its stored endpoint key from Bolna. A voice still selected on an agent cannot be deleted. Deletes the voice along with the API key stored for its endpoint. A voice still selected on an agent cannot be deleted, and the error names the agents using it. Only the scope that added the voice can delete it. Read more in [Custom TTS](/docs/custom-tts). # Delete a custom LLM model Source: https://www.bolna.ai/docs/api-reference/user/delete_model DELETE /user/model/custom/{model_id} Delete a custom LLM and its stored endpoint key from your Bolna account. A model still selected on an agent cannot be deleted. Deletes the model along with the API key stored for its endpoint. A model still selected on an agent cannot be deleted, and the error names the agents using it. Read more in [Custom LLMs](/docs/custom-llm-inference). # User information Source: https://www.bolna.ai/docs/api-reference/user/info GET /user/me Get details like name, email, current wallet balance, concurrency limits, and account status for the authenticated user via GET /user/me. # List your custom LLM models Source: https://www.bolna.ai/docs/api-reference/user/list_custom_models GET /user/model/custom List the custom LLMs in your account or sub-account, each with the ID needed to delete it. Sub-accounts also see the account's models. Returns the custom models you can use, each with the `id` needed to delete it. A sub-account sees the models added on the account plus its own. Read more in [Custom LLMs](/docs/custom-llm-inference). # List your custom TTS voices Source: https://www.bolna.ai/docs/api-reference/user/list_custom_tts GET /user/tts/custom List the custom text-to-speech voices in your account or sub-account, each with its ID. Sub-accounts also see the account's voices. Returns the custom TTS voices you can use, each with the `id` needed to delete it. A sub-account sees the voices added on the account plus its own. Read more in [Custom TTS](/docs/custom-tts). # User APIs overview Source: https://www.bolna.ai/docs/api-reference/user/overview Explore APIs related to user and account information for Bolna Voice AI agents, including endpoints for adding custom LLM models and custom TTS voices. ## Endpoints ``` GET /user/me POST /user/model/custom GET /user/tts/custom POST /user/tts/custom DELETE /user/tts/custom/{custom_tts_id} ``` # List violations API Source: https://www.bolna.ai/docs/api-reference/violations/list GET /violations/list Retrieve a paginated list of violations, optionally filtered by status. Use this endpoint to monitor and manage call violations across your account. ## Pagination This API supports pagination using the `page_number` and `page_size` query parameters. You can utilize `has_more` in the API response to determine if you should fetch the next page. You can learn more about it from the [pagination documentation](/docs/api-reference/pagination). # Violations APIs overview Source: https://www.bolna.ai/docs/api-reference/violations/overview Manage and track call violations using the Bolna Violations APIs. List violations with filtering and pagination, and submit violation evidence. ## Endpoints ``` GET /violations/list POST /violations/submit ``` # Submit violation API Source: https://www.bolna.ai/docs/api-reference/violations/submit POST /violations/submit Submit a violation along with an evidence file (e.g., a screenshot or document). This endpoint updates the violation status and attaches the uploaded file. # List voices Source: https://www.bolna.ai/docs/api-reference/voice/get_all GET /api/v1/voice-config/tts/voices Get a paginated list of voices for a specific TTS provider and model. Requires provider_id and model_id from the List Providers endpoint. # List TTS providers and models Source: https://www.bolna.ai/docs/api-reference/voice/get_providers GET /api/v1/voice-config/tts Get all supported TTS providers and their models for a given language. Returns provider IDs and model IDs needed to fetch voices. # Voice APIs overview Source: https://www.bolna.ai/docs/api-reference/voice/overview Reference for the Voice API group: discover TTS providers and models by language, then fetch the paginated voice list for a chosen provider and model. The Voice APIs follow a two-step lookup flow: 1. **Get providers + models** — discover which TTS providers and models are available for a given language 2. **Get voices** — fetch the paginated voice list for a specific provider + model ## Endpoints ``` GET /api/v1/voice-config/tts GET /api/v1/voice-config/tts/voices ``` ## Flow ``` GET /api/v1/voice-config/tts?language=hi → returns providers[] each with models[] Pick a provider.id and a model.id GET /api/v1/voice-config/tts/voices?language=hi&provider_id=&model_id=&page=1&page_size=100 → returns items[] of voices ``` Once you have the `voice_id` from a voice item, use it in your agent's `synthesizer_config`: ```json theme={"system"} "synthesizer_config": { "provider": "elevenlabs", "voice_id": "iWNf11sz1GrUE4ppxTOL", "model": "eleven_turbo_v2_5" } ``` # Abort workflow campaign API Source: https://www.bolna.ai/docs/api-reference/workflow-campaigns/abort POST /workflow-campaigns/{campaign_id}:abort Abort a campaign. Terminal: every execution stops before its next external action and the campaign cannot be resumed. # Create workflow campaign API Source: https://www.bolna.ai/docs/api-reference/workflow-campaigns/create POST /workflow-campaigns Create a campaign that pins one published version of a workflow. Pass version null to pin the latest published version. > [!NOTE] > > The version pin is resolved at creation time and is immutable afterwards — publishing a newer version later never changes what this campaign runs. # Delete workflow campaign API Source: https://www.bolna.ai/docs/api-reference/workflow-campaigns/delete DELETE /workflow-campaigns/{campaign_id} Delete a workflow campaign via DELETE; only allowed while the campaign is still a draft with no uploaded entries and no executions. # Campaign entries template API Source: https://www.bolna.ai/docs/api-reference/workflow-campaigns/entries-template GET /workflow-campaigns/{campaign_id}/entries/template Download the one-line CSV header naming exactly the columns required for a workflow campaign entry upload, fetched via GET with the campaign ID. # Get workflow campaign API Source: https://www.bolna.ai/docs/api-reference/workflow-campaigns/get GET /workflow-campaigns/{campaign_id} Retrieve a Bolna workflow campaign with a per-status count of its entries and per-code counts of any upload validation failures. # List workflow campaigns API Source: https://www.bolna.ai/docs/api-reference/workflow-campaigns/list GET /workflow-campaigns List Bolna workflow campaigns filtered by workflow, status or kind, and sorted by creation time, name or outcome counts. # List campaign entries API Source: https://www.bolna.ai/docs/api-reference/workflow-campaigns/list-entries GET /workflow-campaigns/{campaign_id}/entries List a workflow campaign's entries, including rows that failed upload validation together with the failure code for each one. # List campaign executions API Source: https://www.bolna.ai/docs/api-reference/workflow-campaigns/list-executions GET /workflow-campaigns/{campaign_id}/executions List a campaign's executions, filterable by status and outcome. Poll after starting to watch contacts progress. # Workflow campaign APIs overview Source: https://www.bolna.ai/docs/api-reference/workflow-campaigns/overview Run a published workflow over a batch of contacts: upload entries as CSV or JSON, start the campaign, and track progress with per-node reports. ## What are workflow campaigns? A campaign runs one published workflow version over many contacts. It pins the version at creation time — publishing a new version never affects a campaign already created — and each uploaded contact becomes an execution once the campaign starts. The lifecycle is `draft` → `scheduled` → `running` → (`paused` ↔ `running`) → `completed` or `aborted`. Entries can be uploaded while the campaign is `draft`, `scheduled` or `running`. ## Endpoints ``` POST /workflow-campaigns Create a campaign GET /workflow-campaigns List campaigns GET /workflow-campaigns/{campaign_id} Get a campaign with entry counts DELETE /workflow-campaigns/{campaign_id} Delete an empty draft campaign POST /workflow-campaigns/{campaign_id}/entries Upload entries (CSV or JSON) GET /workflow-campaigns/{campaign_id}/entries List entries GET /workflow-campaigns/{campaign_id}/entries/template CSV header template POST /workflow-campaigns/{campaign_id}:start Start POST /workflow-campaigns/{campaign_id}:pause Pause POST /workflow-campaigns/{campaign_id}:resume Resume POST /workflow-campaigns/{campaign_id}:abort Abort (terminal) GET /workflow-campaigns/{campaign_id}/executions List executions GET /workflow-campaigns/{campaign_id}/report Aggregated report ``` See the [campaigns guide](/docs/workflows/campaigns) for the end-to-end flow with examples. # Pause workflow campaign API Source: https://www.bolna.ai/docs/api-reference/workflow-campaigns/pause POST /workflow-campaigns/{campaign_id}:pause Pause a running campaign. No new work starts; executions waiting on timers hold at their next dispatch until you resume. # Workflow campaign report API Source: https://www.bolna.ai/docs/api-reference/workflow-campaigns/report GET /workflow-campaigns/{campaign_id}/report Aggregated campaign report: execution counts by status, termination reasons, and a per-node funnel keyed by your definition's node ids. > [!NOTE] > > For completed executions the `termination_reasons` keys are the `label` values of your end nodes, so the report maps directly onto the endings you designed. # Resume workflow campaign API Source: https://www.bolna.ai/docs/api-reference/workflow-campaigns/resume POST /workflow-campaigns/{campaign_id}:resume Resume a paused workflow campaign via POST; held executions continue from the step where they paused rather than restarting from the beginning. # Start workflow campaign API Source: https://www.bolna.ai/docs/api-reference/workflow-campaigns/start POST /workflow-campaigns/{campaign_id}:start Start dialing a campaign's pending entries. Requires at least one pending entry; repeating the call is a no-op. > [!WARNING] > > If the pinned definition contains an agent node, starting the campaign places real calls to every pending entry. # Upload campaign entries API Source: https://www.bolna.ai/docs/api-reference/workflow-campaigns/upload-entries POST /workflow-campaigns/{campaign_id}/entries Bulk-upload contacts as CSV rows or a JSON array. Rows are validated individually, with per-row failures reported alongside the accepted count. > [!NOTE] > > Validation happens in two stages. First a whole-upload shape check: every column must be a system field (`reference_id`, `mobile_number`, `name`, `email`) or a field the pinned version's start node declares — otherwise the entire upload is rejected with `422 unknown_field` or `missing_required_field` and nothing is persisted. Then each row is validated individually: bad rows land in `failures` with a code (`invalid_phone`, `invalid_field_type`, `missing_required_value`, ...) while good rows are accepted. > [!NOTE] > > Re-uploading a row whose earlier version failed validation replaces it in place — such rows are counted in both `accepted` and `corrected`. Fetch the expected header with the [CSV template endpoint](/docs/api-reference/workflow-campaigns/entries-template). Uploads are capped at 32 MB and 150,000 rows. # Cancel workflow execution API Source: https://www.bolna.ai/docs/api-reference/workflow-executions/cancel POST /workflow-executions/{execution_id}:cancel Stop one contact's execution before its next external action. Canceling an already-terminal execution is a no-op. # Get workflow execution API Source: https://www.bolna.ai/docs/api-reference/workflow-executions/get GET /workflow-executions/{execution_id} The whole story of one contact's run: current status, every node attempt with the edge it took, and the recent timeline. Poll until terminal. > [!NOTE] > > Poll until `status` is one of `completed`, `failed`, `cancelled` or `aborted`. Each entry in `nodes` shows the attempt's status, the case that matched (`matched_case_index`) and the node it routed to (`to_node_id`), so you can replay the exact path through your graph. # Workflow execution APIs overview Source: https://www.bolna.ai/docs/api-reference/workflow-executions/overview Track and control individual contacts moving through a workflow: node-by-node history, timeline events, and cancellation. ## What are workflow executions? An execution is one contact's journey through a published workflow version. It is created by the [Run Workflow API](/docs/api-reference/workflows/run) or by starting a [campaign](/docs/api-reference/workflow-campaigns/overview), and moves through `pending` → `running` → a terminal status (`completed`, `failed`, `cancelled` or `aborted`). On completion, `termination_reason` carries the label of the end node the contact reached and `outcome` its declared `success` / `failure` / `neutral`. ## Endpoints ``` GET /workflow-executions/{execution_id} Get an execution (poll) POST /workflow-executions/{execution_id}:cancel Cancel an execution POST /workflow-executions/{execution_id}/webhook:resend Resend the execution webhook ``` Every execution also sends one webhook when it finishes — see [Workflow webhooks](/docs/workflows/execution-webhook). > [!NOTE] > > These are workflow executions, distinct from [call executions](/docs/api-reference/executions/overview). Each agent node inside a workflow execution produces a regular call execution with its own transcript and recording. # Execution webhook payload Source: https://www.bolna.ai/docs/api-reference/workflow-webhooks/execution-terminal api-reference/openapi.yml webhook executionTerminal The POST sent to a workflow's webhook URL once each execution finishes: how it ended, and every node the contact passed through. # Resend execution webhook API Source: https://www.bolna.ai/docs/api-reference/workflow-webhooks/resend POST /workflow-executions/{execution_id}/webhook:resend Send a finished execution's webhook again, to the workflow's current webhook URL, with the payload it originally carried. # Test workflow webhook API Source: https://www.bolna.ai/docs/api-reference/workflow-webhooks/test POST /workflows/{workflow_id}/webhook:test Send one sample execution webhook to the workflow's configured destination and see exactly what your server did with it. # Create workflow API Source: https://www.bolna.ai/docs/api-reference/workflows/create POST /workflows Create a new workflow via POST /workflows, starting an empty draft at revision 0 ready to receive a saved, validated, and published definition. > [!NOTE] > > The new workflow's draft starts at revision `0`. Save a definition with the [Save Draft API](/docs/api-reference/workflows/save-draft), then [validate](/docs/api-reference/workflows/validate) and [publish](/docs/api-reference/workflows/publish) it before running contacts. # Delete workflow API Source: https://www.bolna.ai/docs/api-reference/workflows/delete DELETE /workflows/{workflow_id} Soft-delete a workflow via DELETE /workflows/{workflow_id}; existing campaigns and past executions are preserved for reporting purposes. # Get workflow API Source: https://www.bolna.ai/docs/api-reference/workflows/get GET /workflows/{workflow_id} Retrieve a workflow with its draft metadata and every published version, including per-version campaign and outcome totals. # Get callback URL API Source: https://www.bolna.ai/docs/api-reference/workflows/get-callback GET /workflows/{workflow_id}/nodes/{node_id}/callback Fetch a workflow callback node's inbound URL and signing secret, so your system knows where to POST results and how to sign them. # Get workflow draft API Source: https://www.bolna.ai/docs/api-reference/workflows/get-draft GET /workflows/{workflow_id}/draft Read a workflow's stored draft definition and its current revision, the compare-and-set token you pass back when saving the draft. # Get last callback API Source: https://www.bolna.ai/docs/api-reference/workflows/get-last-callback GET /workflows/{workflow_id}/nodes/{node_id}/callback:last See the last request a callback node's URL received in the past 30 minutes, how it was correlated, and whether an execution took it. # Get workflow version API Source: https://www.bolna.ai/docs/api-reference/workflows/get-version GET /workflows/{workflow_id}/versions/{version} Retrieve the frozen definition of one published workflow version via GET, identified by workflow ID and version number, for auditing or replay. # List workflows API Source: https://www.bolna.ai/docs/api-reference/workflows/list GET /workflows List your workflows via GET /workflows, newest first, with optional case-insensitive filtering by a substring of the workflow name. # Workflow node types API Source: https://www.bolna.ai/docs/api-reference/workflows/node-types GET /workflow-node-types Discover every node type with its configuration parameters, defaults and bounds, plus the variable namespaces available to conditions. > [!NOTE] > > The catalog is generated from the same models that publish enforces, so it never drifts from what the engine accepts. See the [node reference](/docs/workflows/nodes) for worked examples of each type. # Workflow APIs overview Source: https://www.bolna.ai/docs/api-reference/workflows/overview Build multi-step outreach sequences combining voice calls, WhatsApp messages, API calls, waits, and retries, then run them over one contact or thousands. > [!NOTE] > > Workflows are in beta. The APIs documented here are stable to build against, but details may evolve before general availability. ## What are Workflows? A workflow is a graph of nodes — agent calls, WhatsApp messages, API requests, waits, retries and endings — connected by conditions. Once published, you run contacts through it: each contact becomes an **execution** that walks the graph, branching on call outcomes, extracted values and API responses. ``` Workflow ├── Draft mutable definition you edit and validate ├── Published versions immutable, frozen at publish (v1, v2, ...) │ └── Campaigns each pins one published version │ └── Executions one per contact, walks the graph └── Single runs one contact through the latest version ``` ## Key features * **Versioned definitions** — edits go to a draft; publishing freezes an immutable version, so running campaigns are never changed underneath. * **Condition-based branching** — every node routes onward through ordered cases evaluating call status, extracted fields, API responses or contact data. * **Native retries and waits** — `retry` nodes re-dial unreachable contacts on a schedule; `time` nodes pause between steps. * **Two ways to run** — a single-contact run endpoint for event-driven use, and campaigns with CSV/JSON contact uploads for batches. * **Full observability** — per-execution node-by-node history, and per-campaign reports with a node funnel keyed to your definition. Start with the [workflow guides](/docs/workflows/introduction) for concepts, the definition schema and worked examples. ## Endpoints ``` POST /workflows Create a workflow GET /workflows List workflows GET /workflows/{workflow_id} Get a workflow with its versions PATCH /workflows/{workflow_id} Rename a workflow or update its settings DELETE /workflows/{workflow_id} Delete a workflow GET /workflows/{workflow_id}/draft Get the draft definition PUT /workflows/{workflow_id}/draft Save the draft definition POST /workflows/{workflow_id}/validate Validate the draft POST /workflows/{workflow_id}/publish Publish the draft as a version GET /workflows/{workflow_id}/versions/{v} Get a published version POST /workflows/{workflow_id}/run Run one contact POST /workflows/{workflow_id}/webhook:test Send a sample execution webhook GET /workflow-node-types Node-type catalog ``` Batch runs live under the [Workflow Campaign APIs](/docs/api-reference/workflow-campaigns/overview) and per-contact progress under the [Workflow Execution APIs](/docs/api-reference/workflow-executions/overview). The webhook each execution sends when it finishes is covered in [Workflow webhooks](/docs/workflows/execution-webhook). # Publish workflow API Source: https://www.bolna.ai/docs/api-reference/workflows/publish POST /workflows/{workflow_id}/publish Validate the current draft and freeze it via POST as an immutable published version that campaigns and run requests execute against. > [!NOTE] > > Publishing freezes the current draft as a new version and opens a fresh draft at revision `0`. Campaigns pin a specific published version, so publishing again never changes a campaign already running. > [!NOTE] > > For `extraction` nodes, the field types are filled server-side from the linked agent's dispositions at publish time — whatever `fields` you saved in the draft is ignored. # Rotate callback URL API Source: https://www.bolna.ai/docs/api-reference/workflows/rotate-callback POST /workflows/{workflow_id}/nodes/{node_id}/callback:rotate Replace a callback node's inbound URL and signing secret. Executions already waiting are reached through the new URL. # Run workflow API Source: https://www.bolna.ai/docs/api-reference/workflows/run POST /workflows/{workflow_id}/run Run a single contact through the latest published version of a workflow via POST, returning an execution ID you can poll for status and results. > [!NOTE] > > `reference_id` is the contact's identity within the workflow version: repeating it returns `409 duplicate_run` with the existing `execution_id`, which makes the call safely retryable. When omitted, an identity is derived from the row's content. > [!NOTE] > > Fields declared by the start node can be passed flat at the top level — exactly like CSV columns — or nested under `custom_fields`. On a name collision the flat key wins. Undeclared keys are rejected with `422 unknown_field`. # Save workflow draft API Source: https://www.bolna.ai/docs/api-reference/workflows/save-draft PUT /workflows/{workflow_id}/draft Save the draft definition using an optimistic-concurrency revision token, so concurrent editors never silently overwrite each other. > [!NOTE] > > `expected_revision` is a compare-and-set token. A fresh workflow's draft is at revision `0`, each save returns the next revision, and publishing resets the new draft to `0`. If your value is stale the save fails with `409 revision_conflict` carrying `current_revision` — re-read the draft and retry. > [!NOTE] > > Draft saves accept any well-formed JSON object up to 512 KB. Graph rules (reachability, cycles, node configs) are checked by [Validate](/docs/api-reference/workflows/validate) and enforced at [Publish](/docs/api-reference/workflows/publish). See [Nodes](/docs/workflows/nodes) and [Conditions and variables](/docs/workflows/conditions-and-variables) for the definition schema. # Update workflow API Source: https://www.bolna.ai/docs/api-reference/workflows/update PATCH /workflows/{workflow_id} Rename a workflow or update its settings, such as the execution webhook. Settings are merged, so each change is applied on its own. # Validate workflow API Source: https://www.bolna.ai/docs/api-reference/workflows/validate POST /workflows/{workflow_id}/validate Check the saved draft against every graph and node rule without mutating anything. Errors block publish; warnings do not. > [!NOTE] > > Validation reads the stored draft, so save your definition with the [Save Draft API](/docs/api-reference/workflows/save-draft) first. Common error codes include `unbounded_cycle` (a loop not closed through a `retry` node), `dangling_target` (a case routes to a missing node id), `unknown_agent` and `empty_cases` on the start node. # Ask Bolna: the AI assistant in your dashboard Source: https://www.bolna.ai/docs/ask-bolna Ask Bolna answers questions about your agents, calls and batches, explains Bolna features from the docs and helps you write prompts in the dashboard. Ask Bolna is an AI assistant built into the Bolna dashboard. It can look up data in your account, search the Bolna documentation for you, and help with voice AI questions such as writing a prompt. It is in beta and available to every Bolna customer. > [card] [Open Ask Bolna](https://platform.bolna.ai/ask-bolna) > > Go to platform.bolna.ai/ask-bolna and sign in with your Bolna account. ## What you can ask | Kind of question | What Ask Bolna does | Example | | - | - | - | | Your own account | Looks up your agents, calls, batches, phone numbers, SIP trunks, knowledge bases, wallet and usage through the [Bolna MCP server](/docs/mcp-server). It never guesses account data. | "How many calls did my agents handle this week?" | | How Bolna works | Searches the Bolna documentation and links to the pages it used. | "How do I connect my Twilio number?" | | General voice AI | Answers directly, for example improving an agent prompt, picking a voice or language, or designing a call flow. | "How can I make my agent's greeting sound friendlier?" | Ask Bolna only sees the account you are signed in to, and it replies in the language you write in. ## Actions that change your account Some requests change your account, cost money or place real calls, such as buying a number, starting a call or batch, or creating, updating or deleting something. Before any of these, Ask Bolna tells you exactly what it will do and waits for you to confirm in your next message. Read-only lookups do not need confirmation. ## Getting around the dashboard Ask Bolna can open the right dashboard page for you, such as an agent's call history or the SIP trunks page, or point to the matching item in the sidebar. After each answer it also suggests a few follow-up questions you can click. ## Chat history and feedback * **Chat history:** your conversations are saved. Reopen a past conversation to see it again or continue where you left off. * **Feedback:** share feedback on any conversation to tell the Bolna team what worked and what didn't. ## Daily usage limit Each user can use up to **200,000 tokens a day** with Ask Bolna, counting both your messages and its replies. The limit resets at **12:00 AM IST** (midnight India time). If you reach it, Ask Bolna tells you, and you can continue the next day. ## Next steps > [card] [Bolna MCP](/docs/mcp-server) > > Connect the same account tools to Claude, Cursor or any other MCP client. > [card] [Get help](/docs/getting-help) > > Community, support channels and what to include when you report an issue. # AssemblyAI real-time transcription for Bolna voice agents Source: https://www.bolna.ai/docs/assemblyai Configure AssemblyAI Universal-3.6 Pro streaming speech-to-text in Bolna: models, 32 languages, keyword and context biasing, session settings and agent context. [AssemblyAI](https://www.assemblyai.com/) provides streaming speech-to-text through its Universal-3 model family. The current model, `universal-3-6-pro`, is trained on real voice-agent and phone audio, so it holds up on the turns that break voice agents: one-word answers, background voices, and callers who switch language mid-sentence. On Bolna it is also a strong choice when you need accurate proper nouns, because it accepts both a keyword list and a free-form description of the call. *** ## Quick config ```json theme={"system"} "transcriber": { "provider": "assembly", "model": "universal-3-6-pro", "language": "en", "endpointing": 150, "keywords": "Bolna, Plivo, Exotel", "context": "Inbound support line for a voice AI platform. Callers ask about telephony setup and billing.", "assemblyai_config": { "max_turn_silence": 2000 } } ``` Set this in your agent's `tools_config.transcriber` block. See [Create Agent API](/docs/api-reference/agent/v2/create) for the full schema. *** ## Supported models | Model | Languages | Best for | | - | - | - | | `universal-3-6-pro` | 32 | Newest model; recommended default | | `universal-3-5-pro` | 19 | Previous generation, still supported | **Recommendation:** use `universal-3-6-pro`. It is the most accurate of the family, it covers 13 languages that `universal-3-5-pro` does not, and AssemblyAI charges the same rate for both. ### What `universal-3-6-pro` improves AssemblyAI trained it on tens of thousands of hours of real voice-agent and phone conversations, so the gains land on conversational audio rather than clean dictation. Against `universal-3-5-pro`: | Area | Improvement | | - | - | | Short answers | 45% fewer errors on replies like "yes" or "no thanks", and 52% fewer in heavy background noise | | Background voices | 22% less background speech leaking into the transcript, 29% less in heavy noise | | Language stability | 74% fewer sessions transcribed in the wrong language | | Turn handling | Same median latency, with more precise end-of-turn detection | Upgrading is a one-field change: set `model` to `universal-3-6-pro`. Nothing else in your transcriber block has to change, though check your `language` is still on the list below. > [!WARNING] > > The older `universal` model is deprecated. It runs AssemblyAI's legacy English-only streaming engine, which is not built for conversational speech, and it is no longer selectable on new agents. Existing agents on it keep running, but move them to `universal-3-6-pro` when you next edit them. *** ## Supported languages `universal-3-6-pro` code-switches across 32 languages, so a caller who mixes languages mid-sentence is handled without changing configuration. | Language | Code | Language | Code | | - | - | - | - | | Afrikaans | `af` | Korean | `ko` | | Arabic | `ar` | Mandarin | `zh` | | Cantonese | `yue` | Marathi | `mr` | | Catalan | `ca` | Norwegian | `no` | | Danish | `da` | Norwegian Nynorsk | `nn` | | Dutch | `nl` | Persian | `fa` | | English | `en` | Portuguese | `pt` | | Estonian | `et` | Romanian | `ro` | | Finnish | `fi` | Russian | `ru` | | French | `fr` | Spanish | `es` | | Galician | `gl` | Swedish | `sv` | | German | `de` | Turkish | `tr` | | Hebrew | `he` | Urdu | `ur` | | Hindi | `hi` | Vietnamese | `vi` | | Italian | `it` | Xhosa | `xh` | | Japanese | `ja` | Zulu | `zu` | `universal-3-5-pro` covers 19 of these. The 13 it does not handle, and that `universal-3-6-pro` adds, are Afrikaans, Cantonese, Estonian, Galician, Korean, Marathi, Norwegian Nynorsk, Persian, Romanian, Russian, Urdu, Xhosa and Zulu. If your agent uses one of those, `universal-3-6-pro` is the only option. AssemblyAI keeps the canonical list at [Multilingual transcription: supported languages](https://www.assemblyai.com/docs/streaming/multilingual-transcription#supported-languages). > [!NOTE] > > Bolna's `language` field takes the plain language code shown above, not a locale code: send `"language": "en"`, not `"en-IN"`. See [Create Agent API](/docs/api-reference/agent/v2/create) for how `model` and `language` are validated as a pair. *** ## Key settings | Setting | Type | Default | Description | | - | - | - | - | | `model` | string | `universal-3-6-pro` | Model variant | | `language` | string | `en` | Language code, always set explicitly | | `endpointing` | integer | `150` | ms the agent waits after a turn ends before replying | | `keywords` | string | empty | Comma-separated terms to bias towards | | `context` | string | empty | Plain description of the call | | `assemblyai_config` | object | empty | AssemblyAI session settings, see [Session settings](#session-settings) | *** ## Keyword and context biasing AssemblyAI is one of the few providers that accepts both fields, which is what makes it worth choosing when your calls are full of brand names or product codes. ```json theme={"system"} "keywords": "Bolna, Plivo, Exotel, Twilio", "context": "Inbound support line for a voice AI platform. Callers ask about telephony setup, call routing and billing." ``` * `keywords` is sent as AssemblyAI's keyterms prompt, up to **100 terms**. Per-term weights are not supported, so Bolna strips any `term:number` suffix before sending. * `context` is sent as AssemblyAI's prompt, up to **1,750 characters** in any script, and is available on the Universal-3 models only. See [Keywords and context](/docs/customizations/asr-keywords-and-context) for how to write both well. *** ## Session settings `assemblyai_config` tunes the AssemblyAI session itself. Every field is optional: a field you leave out keeps AssemblyAI's own default, so an agent without `assemblyai_config` behaves exactly as before. ```json theme={"system"} "assemblyai_config": { "mode": "balanced", "max_turn_silence": 2000, "vad_threshold": 0.4, "voice_focus": "near-field" } ``` | Field | Values | Models | What it does | | - | - | - | - | | `mode` | `balanced`, `max_accuracy`, `min_latency` | Universal-3 | Preset that sets the defaults of the turn settings below. `balanced` is the default and suits voice agents; `max_accuracy` transcribes more carefully but ends turns a few hundred milliseconds later | | `max_turn_silence` | integer, ms | All | Silence after which the caller's turn always ends. Raise it for callers who pause while reading out numbers or addresses | | `min_turn_silence` | integer, ms | All | Silence before AssemblyAI checks whether the caller has finished. Raise it if brief pauses end turns too early | | `interruption_delay` | `0` to `1000` ms | Universal-3 | Wait before the first partial transcript. Lower lets callers interrupt sooner; higher makes that first partial more reliable | | `vad_threshold` | `0` to `1` | All | How sure AssemblyAI must be that audio is speech. Raise it if line noise interrupts the agent; lower it if quiet callers are missed | | `voice_focus` | `near-field`, `far-field` | Universal-3 | Suppresses background voices and noise. `near-field` suits handsets and headsets, `far-field` speakerphones | | `voice_focus_threshold` | `0` to `1` | Universal-3 | How strongly voice focus suppresses audio that is not the main speaker. Requires `voice_focus` | * When unset, AssemblyAI uses `balanced`, a VAD threshold of `0.2` on the Universal-3 models (`0.4` on legacy models) and a longest pause of `1280` ms. * On the legacy `universal` model, `mode`, `interruption_delay` and the voice focus fields are not sent. * `min_latency` speeds up partial transcripts, not the end of the turn, so it does not make the agent reply sooner. Bolna replies once the turn ends; keep `balanced` for voice agents. * An invalid value, such as `interruption_delay` above `1000` or `voice_focus_threshold` without `voice_focus`, is rejected when you save the agent. In the dashboard, **Mode**, **VAD threshold** and **Longest pause in a turn** sit under **Advanced settings** in the Transcription section of the [Languages Tab](/docs/agent-setup/audio-tab). The other fields are available over the API. ![Bolna Transcription settings with Provider set to assembly and Model set to universal-3-6-pro, Keywords and Context fields, and an expanded Advanced settings panel showing Mode set to Balanced, VAD threshold set to 0.2 and Longest pause in a turn set to 1280](https://mintcdn.com/bolna-54a2d4fe/aqfv3Q6JZJEwm63M/images/getting-started/agent-setup/audio-stt-assemblyai-advanced.png?fit=max\&auto=format\&n=aqfv3Q6JZJEwm63M\&q=85\&s=735080f09935e57a111a09531062eee9) AssemblyAI transcription with Advanced settings expanded, showing Mode, VAD threshold and Longest pause in a turn at AssemblyAI's defaults *** ## Agent context On the Universal-3 models, Bolna gives AssemblyAI the agent's last spoken reply as context for the caller's next turn. When the agent asks "Can you spell your last name?" or "What are the last four digits of your card?", AssemblyAI knows what kind of answer is coming, which helps on short answers, spelled-out names and numbers. AssemblyAI carries the caller's earlier turns forward on its own. There is nothing to configure: * The context updates after every reply the agent speaks, including the welcome message. * If the caller interrupts, the context becomes the part of the reply they actually heard. * Long replies keep their last 1,750 characters, where the question usually is. * The legacy `universal` model does not support agent context, so nothing is sent there. *** ## Turn handling AssemblyAI's streaming API is turn-based. It emits partial transcripts as the caller speaks and marks the end of a speaking turn explicitly, and Bolna treats only that end-of-turn signal as final, which keeps your agent from replying to half a sentence. Audio format and sample rate are set by Bolna from the channel the call arrives on, so there is nothing to configure there. *** ## FAQ > [accordion] Should I use universal-3-6-pro or universal-3-5-pro? > > Use `universal-3-6-pro` unless you have measured `universal-3-5-pro` to be better on your own audio. `universal-3-6-pro` covers 32 languages against 19, is markedly better on short answers and noisy lines, and AssemblyAI charges the same rate for both, so there is rarely a reason to stay on the older model. > [accordion] My agent is on the old `universal` model. Will calls break? > > No. Existing agents keep running on the legacy engine. The model is hidden from new agent configuration, and saving an agent that still uses it prompts you to pick a replacement. > [accordion] Why is my context being ignored? > > Context is supported on the Universal-3 models only. On the legacy `universal` model the field is dropped. Check your agent is on `universal-3-6-pro` or `universal-3-5-pro`. > [accordion] The agent replies before the caller has finished. What do I change? > > AssemblyAI decides when the caller's turn has ended, so tune that first. Raise `max_turn_silence` (**Longest pause in a turn** in the dashboard) for callers who pause while reading out numbers or addresses, and `min_turn_silence` if brief pauses end turns too early. See [Session settings](#session-settings). `endpointing` is the extra pause the agent leaves after the turn has ended, before it speaks. > [accordion] Line noise keeps interrupting the agent. What do I change? > > Raise `vad_threshold` (**VAD threshold** in the dashboard) so AssemblyAI needs more confidence before it treats audio as speech, or set `voice_focus` to suppress background voices. If quiet callers start getting missed, lower `vad_threshold` again. > [accordion] Can I turn off agent context? > > No. It only adds context and is always on for the Universal-3 models. The legacy `universal` model does not support it. > [accordion] Can I use an unlisted language? > > No. A language outside the list above is not sent to AssemblyAI, and the model falls back to its own detection. Use [Deepgram](/docs/deepgram-transcriber) or [Sarvam](/docs/sarvam-transcriber) if you need a language AssemblyAI does not cover. > [accordion] My language works on universal-3-6-pro but not on universal-3-5-pro. Why? > > `universal-3-5-pro` only covers 19 of the 32 languages. Afrikaans, Cantonese, Estonian, Galician, Korean, Marathi, Norwegian Nynorsk, Persian, Romanian, Russian, Urdu, Xhosa and Zulu arrived with `universal-3-6-pro`. Move the agent to `universal-3-6-pro`. *** ## Related * [Keywords and context](/docs/customizations/asr-keywords-and-context): biasing transcription towards your vocabulary * [Languages Tab](/docs/agent-setup/audio-tab): configure the transcriber in the dashboard * [Deepgram transcriber](/docs/deepgram-transcriber): the default English option * [Soniox transcriber](/docs/soniox): the other provider supporting both keywords and context # AWS Polly text to speech with Bolna voice AI agents Source: https://www.bolna.ai/docs/aws-polly Learn how to integrate and use AWS Polly TTS with Bolna Voice AI agents including Amazon's neural, generative and standard models. ## What is AWS Polly TTS? [AWS Polly](https://aws.amazon.com/polly/) is a cloud-based text-to-speech (TTS) service powered by Amazon Web Services (AWS). It uses deep learning technologies to convert text into natural-sounding speech, making it ideal for applications requiring high-quality voice synthesis. AWS Polly supports a wide range of languages and voices, offering both **standard TTS** and **neural TTS (NTTS)**, which enhances the realism of speech output. Designed for real-time and batch processing, AWS Polly enables applications to deliver engaging voice experiences across various industries, including customer service, e-learning, and automated assistants. ## Why choose AWS Polly for voice synthesis? AWS Polly offers several advanced features that make it a powerful choice for AI-driven voice applications: **Natural-Sounding Speech**: Utilizes neural TTS (NTTS) to enhance realism, reducing robotic-sounding speech. **Multiple Languages and Voices**: Supports a wide range of languages and accents, allowing for global reach. **Real-Time Speech Synthesis**: Generates speech quickly with low latency, making it suitable for interactive applications. **Neural and Standard TTS Options**: Offers high-quality neural TTS as well as cost-effective standard TTS for scalable deployment. ## How does Bolna integrate with AWS Polly TTS? Bolna AI integrates AWS Polly’s TTS capabilities to deliver high-quality, real-time speech synthesis for its voice AI agents. Here’s how Bolna leverages AWS Polly: **Generating Lifelike Speech for Voice AI Agents**: Bolna AI uses AWS Polly to convert AI-generated text responses into human-like speech, ensuring a more natural interaction experience for users. **Low-Latency Voice Synthesis for Real-Time Conversations**: With AWS Polly’s low-latency capabilities, Bolna AI ensures real-time speech generation, allowing its voice agents to respond without noticeable delays. **Multilingual and Accent Customization**: AWS Polly’s extensive language and voice options allow Bolna AI to cater to a global audience by providing speech output in multiple languages and accents. **Scalable and Cost-Effective Deployment**: As a cloud-based service, AWS Polly allows Bolna AI to scale its voice synthesis needs based on demand while maintaining cost efficiency. ## What AWS Polly TTS models are supported? Bolna supports the following AWS Polly TTS models: | Model | | - | | neural | | generative | | standard | ## Next steps Ready to configure AWS Polly voices for your voice AI agent? Start by [setting up your synthesizer in Agent Studio](/docs/agent-setup/audio-tab) or explore our [API documentation](/docs/api-reference/introduction) for programmatic integration. For related integrations: * Compare with [ElevenLabs voices](/docs/elevenlabs-voice) for alternative synthesis * Explore [Azure TTS](/docs/azure-voice) for Microsoft ecosystem integration * Review [Deepgram voices](/docs/deepgram-voice) for low-latency options * Configure [multilingual support](/docs/customizations/multilingual-languages-support) for global reach AWS Polly's TTS capabilities enhance Bolna AI's ability to deliver realistic, engaging, and highly responsive voice interactions. AI. # Azure OpenAI models for Bolna voice agents Source: https://www.bolna.ai/docs/azure-openai Use GPT-5.4-mini, GPT-5.4, GPT-4.1, or GPT-4o through Azure OpenAI for enterprise data residency and compliance. [Azure OpenAI Service](https://azure.microsoft.com/en-us/products/ai-services/openai-service) provides the same OpenAI models through Microsoft's cloud infrastructure — adding data residency controls, private networking, and enterprise compliance (SOC 2, HIPAA, ISO 27001). Use this provider when your deployment requires regional data handling or Azure-native security. *** ## Quick config ```json theme={"system"} "llm_agent": { "agent_type": "simple_llm_agent", "agent_flow_type": "streaming", "llm_config": { "provider": "azure-openai", "model": "gpt-5.4-mini", "max_tokens": 150, "temperature": 1 } } ``` > [!WARNING] > > GPT-5-series models require `"temperature": 1`. Any other value is rejected with `400 For GPT-5 models, temperature must be 1`, and the field defaults to `0.1` when omitted, so send it explicitly. Connect your Azure account at [platform.bolna.ai/auth/azure](https://platform.bolna.ai/auth/azure). You'll need your Azure endpoint URL, API key, and deployment name. > [!NOTE] > > `"provider": "azure"` is an accepted alias for `"azure-openai"`. Both resolve to the same Azure > handler, and agents built in the dashboard store `azure`. The deployment in `model` may optionally > carry an `azure/` prefix (`azure/gpt-5.4-mini`); the prefix is stripped before the request, so > prefixed and unprefixed names behave identically. *** ## Supported models | Model | Context | Best for | Notes | | - | - | - | - | | `gpt-5.5` | 1M tokens | Maximum quality; complex tasks | Flagship; highest cost | | `gpt-5.4` | 1M tokens | General-purpose production | Strong reasoning at lower cost than 5.5 | | `gpt-5.4-mini` | 400K tokens | Most voice agents | **Recommended** — best latency/cost balance | | `gpt-5.4-nano` | 400K tokens | Ultra-high-volume, simple tasks | Cheapest option | | `gpt-4.1` | 1M tokens | Previous gen; still available | Stable if already deployed | | `gpt-4.1-mini` | 1M tokens | Previous gen; still available | Stable if already deployed | | `gpt-4o` | 128K tokens | Previous gen; still available | Stable if already deployed | | `gpt-4o-mini` | 128K tokens | Previous gen; still available | Stable if already deployed | > [!NOTE] > > Azure model availability varies by region. Not all models are available in all Azure regions immediately at launch. Check the [Azure OpenAI model availability](https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models) page for your region. *** ## Key settings | Setting | Type | Recommended | Description | | - | - | - | - | | `provider` | string | `"azure-openai"` | Provider name | | `model` | string | `"gpt-5.4-mini"` | Model/deployment name | | `max_tokens` | integer | `150` | Cap on response length — keep short for voice | | `temperature` | float | `1` | Required value on GPT-5 models; no other value is accepted | | `reasoning_effort` | string | `"none"` | How much the model reasons first. GPT-5 only; valid values differ per model | | `verbosity` | string | `"low"` | How long answers run. GPT-5 only | | `agent_flow_type` | string | `"streaming"` | Always `"streaming"` for voice | ### GPT-5 settings with custom deployment names Azure deployment names are chosen freely, so `model` here is often not the model name. Keep the underlying model name inside the deployment name — `prod-gpt-5.4-mini` rather than `prod-voice-01`. Bolna resolves the deployment to the model it serves, and that resolution is what selects GPT-5 handling and the right default `reasoning_effort`. A name it cannot resolve is treated as a non-GPT-5 model and gets the wrong defaults. > [!NOTE] > > `reasoning_effort` is only checked against the [per-model table](/docs/openai-llm#reasoning-effort) when `model` is an exact model name such as `gpt-5.4-mini` or `azure/gpt-5.4-mini`. With a custom deployment name, an unsupported value is accepted when you create the agent and then fails on the call instead. Check the table yourself when using custom deployment names. *** ## Extractions on Azure OpenAI Post-call [extraction categories](/docs/api-reference/extraction-categories/overview) can also run on Azure OpenAI models, set as `azure/gpt-4.1-mini`, `azure/gpt-5.4-mini`, `azure/gpt-5.6-luna` and so on. They run on Bolna's Azure resource by default. To run a category on the Azure account you connected here, set its `managed_by` to `"user"`. Your resource then needs a deployment named after each model you use, for example `gpt-5.4-mini`. Extractions use the Responses API, so they need API version `2025-03-01-preview` or later; if the version saved on your connection is older, Bolna uses `2025-04-01-preview` for extractions and keeps your saved version for calls. See [Azure OpenAI models](/docs/api-reference/extraction-categories/overview#azure-openai-models) for the full list. *** ## When to use Azure OpenAI vs direct OpenAI Use **Azure OpenAI** when: * Your data must stay within a specific region (EU data residency, HIPAA) * You need private networking (VNet, private endpoints) * Your organization already uses Azure for infrastructure * You need enterprise SLA guarantees Use **direct OpenAI** when: * Simplest setup is preferred * You don't have compliance requirements for data residency * You want access to the latest models as soon as they launch (Azure has a short lag) *** ## FAQ > [accordion] Do I need a separate Azure deployment for each model? > > Yes. In Azure OpenAI, you create a named deployment for each model in the Azure portal. The deployment name is what you pass as the `model` field in Bolna config. > [accordion] Does Azure OpenAI have the same models as OpenAI? > > Azure mirrors OpenAI's lineup but with a short availability lag after new models launch. All GPT-5.x, GPT-4.1, and GPT-4o variants are available. Check [Microsoft's model page](https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models) for your region. > [accordion] How do I reduce latency on Azure? > > Keep `reasoning_effort` at `none`, use `gpt-5.4-mini`, keep `max_tokens` at 150, and deploy to an Azure region geographically close to your users. See [Latency](/docs/concepts/latency) for more. *** ## Related * [Intelligence Tab](/docs/agent-setup/llm-tab) — configure LLM in the dashboard * [OpenAI](/docs/openai-llm) — same models without Azure overhead * [Prompting Guide](/docs/prompting/introduction) — write effective prompts for voice * [Custom Function Calls](/docs/tool-calling/custom-function-calls) — add tools to your agent # Azure transcriber (speech to text) Source: https://www.bolna.ai/docs/azure-transcriber Integrate Azure Speech-to-Text with Bolna Voice AI for real-time, multilingual, high-accuracy transcriptions and enterprise-grade scalability. ## What is Azure speech-to-text? Azure Speech-to-Text, part of Microsoft Azure Cognitive Services, offers cloud-based automatic speech recognition (ASR). It converts spoken language into text using advanced deep learning models—enabling real-time transcription, batch processing, and support for custom model training. It’s designed to handle enterprise-grade workloads with high accuracy and multi-language capabilities. ## Why choose Azure for speech transcription? Azure offers a variety of features that make it a leading STT solution: * **Real-Time Streaming & Batch Transcription**: Supports both low-latency streaming for live interactions and batch processing for recorded files. * **Speaker Diarization & Language Identification**: Detects speaker turns and identifies languages in multi-party, multilingual scenarios. * **Noise Reduction**: Advanced noise suppression techniques improve transcription accuracy in challenging audio conditions. * **Secure & Scalable**: Fully managed service with options for resource control, webhook callbacks, and deployment across regions. ## How does Bolna integrate with Azure speech-to-text? Bolna AI integrates Azure’s STT technology to enable real-time, high-accuracy speech transcription for its AI-powered voice agents. Here’s how Bolna leverages Azure: * **Live Conversation Transcription**: Bolna uses Azure's real-time streaming to convert user speech into text with minimal delay, enabling dynamic agent interaction. * **Multi-Language, Multi-Speaker Context**: With speaker diarization and language detection, Bolna agents accurately follow multilingual or multi-party calls. * **Speaker Identification and Context Retention**: Bolna uses Azure’s speaker diarization capabilities to differentiate between the agent and the caller in conversations. This feature helps in maintaining context and structuring responses effectively. * **Recording & Post-Call Analysis**: Bolna supports batch transcription of stored calls via REST, using callbacks/webhooks to asynchronously retrieve results for insights, compliance, and analytics. ## Keyword biasing Azure accepts a phrase list, which Bolna sends as your agent's `keywords`. ```json theme={"system"} "keywords": "Bolna, Plivo, Exotel, account number" ``` Up to 2,000 phrases. Per-term weights are not supported, so Bolna strips any `term:number` suffix. Azure has no equivalent of the `context` field, so that box is shown disabled in the dashboard. See [Keywords and context](/docs/customizations/asr-keywords-and-context) for how to choose terms. ## Next steps Ready to configure Azure Speech-to-Text for your voice AI agent? Start by [setting up your transcriber in Agent Studio](/docs/agent-setup/audio-tab) or explore our [API documentation](/docs/api-reference/introduction) for programmatic integration. For related integrations: * Compare with [Deepgram transcriber](/docs/deepgram-transcriber) for alternative transcription * Explore [Azure OpenAI](/docs/azure-openai) for a complete Azure ecosystem * Learn about [data residency options](/docs/enterprise/data-residency) for compliance * Configure [multilingual support](/docs/customizations/multilingual-languages-support) for global agents * You can also connect your own Azure account and use it with [Bolna AI](https://platform.bolna.ai/auth/azure) Integrating Azure Speech-to-Text with Bolna empowers voice AI agents to deliver seamless, real-time, and highly accurate transcriptions across diverse languages and speaker scenarios.e. # Azure text to speech with Bolna voice AI agents Source: https://www.bolna.ai/docs/azure-voice Integrate Microsoft Azure Text-to-Speech with Bolna to create natural, expressive Voice AI agents. Supports neural voices and multilingual output. ## What is Azure TTS? Azure Text-to-Speech (TTS) is a cloud-based speech synthesis service offered by Microsoft as part of its Azure Cognitive Services. It uses advanced deep learning models to generate realistic and natural-sounding speech from text. Designed for enterprise-grade applications, Azure TTS enables businesses to create interactive voice experiences, enhance accessibility, and automate customer interactions with high-fidelity voice output. Azure TTS provides **neural voice synthesis**, offering near-human pronunciation, tone, and emotion control. This technology is widely used in virtual assistants, automated call centers, media narration, and real-time conversational AI applications. ## Why choose Azure for voice synthesis? Azure Text-to-Speech stands out with the following capabilities: **Neural TTS for Human-Like Speech**: Uses deep neural networks to create speech that closely mimics human intonation and expressiveness. **Extensive Language & Voice Support**: Supports over 140 languages and multiple voice options, making it a powerful tool for global reach. **Real-Time & Batch Processing**: Enables both live interaction and bulk conversion of text to speech. **AI-Driven Emotion Infusion**: Adjusts emotional expression in speech (e.g., happy, neutral, sad) to improve engagement. **Latency-Optimized Speech Processing**: Ensures minimal lag, making it suitable for real-time conversational AI applications. ## How does Bolna integrate with Azure TTS? Bolna AI integrates Azure Text-to-Speech to deliver high-quality, human-like speech output for its AI-driven voice agents. Azure TTS enhances Bolna’s ability to conduct seamless, engaging, and contextually aware voice interactions. Here’s how Bolna leverages this technology: **Lifelike Speech for Interactive AI Conversations**: Azure’s Neural TTS allows Bolna AI to generate speech that mirrors human conversation patterns, improving user experience and making voice AI interactions more natural. **Multi-Language and Multimodal Conversational AI**: Since Bolna serves a global user base, Azure’s extensive language and accent library helps deliver culturally relevant and clear speech output tailored to different regions. **Adaptive Speech Based on User Interaction**: Azure TTS enables Bolna AI to modify speech output dynamically based on conversational context. For instance, the AI can adjust intonation when emphasizing key details in recruitment interviews or customer support interactions. **Emotionally Intelligent Voice AI**: By leveraging Azure’s emotion-infused speech synthesis, Bolna AI ensures that the voice agent sounds empathetic, enthusiastic, or neutral based on the conversation’s nature. This is especially useful in customer service and human resource automation. **Enhanced Pronunciation for Industry-Specific Terms**: Azure’s custom lexicons and SSML-based pronunciation adjustments help Bolna AI deliver precise pronunciation for technical terms, job roles, and company names, ensuring clarity in voice interactions. **Real-Time Speech Output for Seamless Conversations**: Azure’s low-latency synthesis ensures that Bolna AI voice agents can provide instant responses, making them highly effective in real-time support scenarios such as call handling, interview assistance, and virtual customer service. ## Next steps Ready to configure Azure voices for your voice AI agent? Start by [setting up your synthesizer in Agent Studio](/docs/agent-setup/audio-tab) or explore our [API documentation](/docs/api-reference/introduction) for programmatic integration. For related integrations: * Combine with [Azure Speech-to-Text](/docs/azure-transcriber) for complete Azure integration * Compare with [ElevenLabs voices](/docs/elevenlabs-voice) for alternative synthesis * Explore [Azure OpenAI](/docs/azure-openai) for enterprise LLM deployment * Configure [multilingual support](/docs/customizations/multilingual-languages-support) for global reach * You can also connect your own Azure account and use it with [Bolna AI](https://platform.bolna.ai/auth/azure) Azure TTS plays a crucial role in enhancing Bolna AI's voice-driven experiences, offering superior speech quality, multilingual support, real-time processing, and brand customization.ide. # AWS Bedrock LLM for Bolna voice agents Source: https://www.bolna.ai/docs/bedrock-llm Run OpenAI's gpt-5.6-luna on AWS Bedrock in India as the LLM of a Bolna voice agent, so LLM requests and data stay in India. [AWS Bedrock](https://aws.amazon.com/bedrock/) serves OpenAI's **gpt-5.6-luna** from AWS's India region. Bolna calls it through Bedrock's India inference profile, so every LLM request and its data stay in India. Use it when you need gpt-5.6-luna with data residency in India. *** ## Quick config In the dashboard, open the agent's [Intelligence tab](/docs/agent-setup/llm-tab), pick **bedrock** as the provider and **gpt-5.6-luna** as the model. Over the API: ```json theme={"system"} "llm_agent": { "agent_type": "simple_llm_agent", "agent_flow_type": "streaming", "llm_config": { "provider": "bedrock", "model": "bedrock/gpt-5.6-luna", "max_tokens": 150, "temperature": 1, "reasoning_effort": "none" } } ``` Bedrock runs on Bolna's AWS account. There is no key to connect. *** ## Supported models | Model | Shown as | Served from | Best for | | - | - | - | - | | `bedrock/gpt-5.6-luna` | gpt-5.6-luna | AWS India (Mumbai and Hyderabad) | Low-cost voice agents that need data residency in India | *** ## Key settings | Setting | Type | Recommended | Description | | - | - | - | - | | `provider` | string | `"bedrock"` | Provider name | | `model` | string | `"bedrock/gpt-5.6-luna"` | Model to use | | `max_tokens` | integer | `150` | Cap on response length; keep it short for voice | | `temperature` | float | `1` | gpt-5.6-luna is a reasoning model and only accepts `1` | | `reasoning_effort` | string | `"none"` | How much the model reasons before answering: `none`, `low`, `medium`, `high` or `xhigh`. Higher values add latency | | `agent_flow_type` | string | `"streaming"` | Always `"streaming"` for voice | *** ## Things to plan for * **Indian servers.** A Bedrock agent can run its calls on Bolna's Indian servers when the rest of its setup qualifies. See [Routing calls through Indian servers](/docs/enterprise/indian-server-configuration). * **Twilio calls run on US servers.** The LLM still runs in India, but each reply crosses from the US to India, which adds latency. * **Graph agents.** A node can switch to Bedrock through its own `llm_config`. *** ## Related * [Intelligence Tab](/docs/agent-setup/llm-tab): configure the LLM in the dashboard * [OpenAI](/docs/openai-llm): gpt-5.6-luna and the rest of the GPT-5 line, served by OpenAI * [Routing calls through Indian servers](/docs/enterprise/indian-server-configuration): keep the whole call in India * [Prompting Guide](/docs/prompting/introduction): write effective prompts for voice # Example prompts Source: https://www.bolna.ai/docs/build-with-ai/example-prompts Real prompts you can copy into an AI assistant, from creating an agent to running a batch campaign, each mapped to the Bolna Skill it triggers. Once [Bolna Skills are installed and set up](/docs/build-with-ai/setup), just ask your AI assistant what you need in plain English. The right skill loads automatically based on your request. > [accordion] Create an agent > > ``` > Create a Hindi voice agent for appointment booking using Plivo and Sarvam. > ``` > > Uses the `create-agent` skill — configures LLM, TTS, STT, telephony, and system prompt in one shot. > [accordion] Make a test call > > ``` > Place a test call to +91XXXXXXXXXX and pass customer_name: Priya as user_data. > ``` > > Uses the `make-call` skill — places an outbound call with dynamic variables. > [accordion] Run a batch campaign > > ``` > Upload leads.csv as a Bolna batch campaign and monitor it until done. > ``` > > Uses the `create-batch` skill — creates a CSV-driven campaign with scheduling and monitoring. > [accordion] Debug a call > > ``` > My Bolna call has a long silence before each response — debug it. > ``` > > Uses the `debug-bolna-calls` skill — runs a symptom-to-fix diagnostic using execution logs. > [accordion] Build a graph agent > > ``` > Build a graph agent for payment confirmation with real-time event injection. > ``` > > Uses the `bolna-graph-agents` skill — creates node-based call flows with deterministic routing. > [accordion] Set up inbound IVR > > ``` > Set up an inbound IVR that routes sales, support, and billing to three different agents. > ``` > > Uses the `setup-inbound` skill — wires phone numbers to agents with IVR menus and caller identification. Looking for the skill behind any of these? See the full [Skills Reference](/docs/skills-reference). # Install Bolna Skills for AI coding assistants Source: https://www.bolna.ai/docs/build-with-ai/installation Install all 21 Bolna Skills with one npx command, target a specific assistant like Claude Code or Cursor, or install just a single skill by name. Install Bolna Skills in your project with a single command: ```bash theme={"system"} npx skills add bolna-ai/skills ``` This detects any Agent Skills-compatible assistants configured in your project and installs all 21 skills for each of them. ## Install for a specific assistant > [tab] Claude Code > > ```bash theme={"system"} > npx skills add bolna-ai/skills -a claude-code > ``` > [tab] Cursor > > ```bash theme={"system"} > npx skills add bolna-ai/skills -a cursor > ``` > [tab] Codex > > ```bash theme={"system"} > npx skills add bolna-ai/skills -a codex > ``` See [Supported AI Assistants](/docs/build-with-ai/supported-assistants) for the full list of compatible tools beyond these three. ## Install a single skill If you only need one capability, install it by name instead of the full set: ```bash theme={"system"} npx skills add bolna-ai/skills --skill create-agent ``` Browse every skill name in the [Skills Reference](/docs/skills-reference). ## Next step Once installed, connect your API key in [Setup](/docs/build-with-ai/setup) so your assistant can actually call the Bolna API. # Setup Source: https://www.bolna.ai/docs/build-with-ai/setup How to connect your Bolna API key via an environment variable or .env file so your AI assistant can authenticate and call the Bolna API directly. Get your API key from the [Bolna Dashboard → Developers → API Keys](https://platform.bolna.ai/developers) and export it: ```bash theme={"system"} export BOLNA_API_KEY="your-api-key" ``` You can also add it to a `.env` file in your project: ```bash theme={"system"} BOLNA_API_KEY=your-api-key ``` > [!WARNING] > > Make sure `.env` is listed in your `.gitignore` to avoid committing secrets. That's it — your AI assistant now has everything it needs to create agents, place calls, and manage your Bolna account. Try one of the [example prompts](/docs/build-with-ai/example-prompts) to see it in action. # Supported AI assistants Source: https://www.bolna.ai/docs/build-with-ai/supported-assistants Bolna Skills works with any Agent Skills-compatible tool, including Claude Code, Cursor, Codex, and dozens more detected automatically by the installer. Bolna Skills work with any tool that supports the [Agent Skills](https://agentskills.io) format. ## Primary assistants These are the assistants most Bolna developers use, and the ones with a dedicated `-a` install flag in [Installation](/docs/build-with-ai/installation): * [Claude Code](https://claude.ai/code) * [Cursor](https://cursor.com) * [OpenAI Codex](https://openai.com/codex) * [Gemini CLI](https://geminicli.com) * [Amp](https://ampcode.com) * [Goose](https://block.github.io/goose) ## Also compatible The installer (`npx skills add bolna-ai/skills`) also detects and installs to any of the following Agent Skills-compatible clients found on your machine: Antigravity, Antigravity CLI, Cline, Deep Agents, GitHub Copilot, Kimi Code CLI, OpenCode, Warp, Zed, AiderDesk, AstrBot, Autohand Code CLI, Augment, IBM Bob, OpenClaw, CodeArts Agent, CodeBuddy, Codemaker, Code Studio, CommandCode, Continue, Cortex Code, Crush, Devin for Terminal, Droid, ForgeCode, Hermes Agent, inference.sh, Jazz, Junie, iFlow CLI, KiloCode, Kiro CLI, Kode, Lingma, MCPJam, Mistral Vibe, Moxby, Mux, OpenHands, Ona, Pi, Qoder, Qoder CN, Qwen Code, Reasonix, Rovo Dev, Roo Code, Tabnine CLI, Terramind, Tinycloud, Trae, Trae CN, Windsurf, Zencoder, Zenflow, Neovate, and Pochi. > [!NOTE] > > This ecosystem grows continuously. For the exact, current list, run `npx skills add bolna-ai/skills` yourself — it detects what's installed on your machine — or browse the live registry at [agentskills.io/clients](https://agentskills.io/clients). See [Installation](/docs/build-with-ai/installation) for the install command, including the `-a` flag for Claude Code, Cursor, and Codex specifically. # Buy phone numbers for your Bolna voice AI agents Source: https://www.bolna.ai/docs/buying-phone-numbers Purchase dedicated US and Indian phone numbers from the Bolna dashboard — US numbers via Twilio, Indian numbers via Plivo or Vobiz, at $5/month each. Buy dedicated phone numbers directly from the Bolna dashboard. Each number costs **\$5/month**, billed as a recurring subscription from your Bolna wallet balance. ![My Phone Numbers page with API, MCP and Buy Phone Number buttons above a table of Phone number, Agent answering this phone number, Telephony, Purchased on, Renews on, Monthly rent, Unlink agent from phone, Verify on Truecaller, Transfer and Delete number](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/phone-numbers-buy-button.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=a437e16aac9917cac5d5a6fe7173057b) My Phone Numbers page with the Buy Phone Number button > [!NOTE] > > Buy and view your phone numbers at [platform.bolna.ai/phone-numbers](https://platform.bolna.ai/phone-numbers). *** ## How to buy a phone number **1. Go to Deploy → My Numbers and click Buy Phone Number** In the left sidebar, expand **Deploy** and click **My Numbers**. The page heading is **My Phone Numbers**. Click the **Buy Phone Number** button in the top right. ![Buy phone number dialog with a Select Country dropdown, a Pattern field, a Select phone number dropdown and a Subscribe number button](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/phone-numbers-dialog.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=46944215cce29ee32edf2600305fa2fb) The Buy phone number dialog **2. Select a Country** Open the **Select Country** dropdown. The available countries are **United States** and **India**. The purchase flow changes based on your selection. ![Buy phone number dialog with country dropdown open showing United States and India options](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/phone-numbers-country-select.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=e93e033f3375f7f1cb227651c225549c) Country dropdown showing United States and India *** ## United states numbers US numbers are provided through **Twilio**. You can search for numbers by area code pattern. **1. Enter a Pattern (Optional)** Type an area code in the **Pattern** field and click the search icon beside it to filter results. For example, enter `718` to find numbers containing that prefix. Results appear in the format `1718XXXXXXX`. ![Buy phone number dialog with United States selected and 718 entered in the pattern field](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/phone-numbers-us-pattern.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=1362983184754cc1224000ed60135fdb) US selected with pattern 718 entered **2. Select a Phone Number** Click **Select phone number** to browse available numbers. Pick one from the list. ![Select phone number dropdown listing available US numbers in E.164 format above the Subscribe number button](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/phone-numbers-us-results.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=e79651e36f7c61fe1aa5e8abaec1c629) Available US phone numbers matching the 718 pattern **3. Subscribe** Once you pick a number, click **Subscribe number** to complete the purchase. The \$5 monthly subscription cost is deducted from your wallet balance. *** ## India numbers Indian numbers require compliance verification. When you select **India**, the purchase flow changes: the **Pattern** field is replaced by a region selector that defaults to **All regions**, and you must choose a telephony provider. > [card] Plivo > > Regions: Karnataka (80), Maharashtra (22) > [card] Vobiz > > Requires KYC approval — available regions are shown once your KYC is approved The region code appears after `+91` in the phone number. For example, a Karnataka number looks like `+9180XXXXXXXX`. ### Plivo ![Buy phone number dialog with India selected, Plivo as provider, and region dropdown showing All regions, Karnataka (80), and Maharashtra (22)](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/phone-numbers-india-plivo.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=739a5276a8a003dedba44ee2ce7b0cf0) India selected with Plivo provider showing regional options: All regions, Karnataka (80), and Maharashtra (22) ### Vobiz ![Buy phone number dialog with India and Vobiz selected and a red KYC required for VoBiz numbers banner with an Apply for KYC link](https://mintcdn.com/bolna-54a2d4fe/vlPn4lzPQ372t9yX/images/phone-numbers-india-vobiz.png?fit=max\&auto=format\&n=vlPn4lzPQ372t9yX\&q=85\&s=a26463b2d439f0dad3e2da8bbf5c4872) India selected with Vobiz provider before KYC approval Until your KYC is approved, picking **Vobiz** shows a **KYC required for VoBiz numbers** banner with an **Apply for KYC** link, and the region and number dropdowns stay disabled. KYC is submitted from the **Vobiz KYC** tab of **Organisation settings**. **1. Select a Provider** Choose **Plivo** or **Vobiz** from the provider dropdown. **2. Pick a Region** Select a region from the dropdown, or leave it on **All regions** to see all available numbers. **3. Select and Subscribe** Pick a number from the list and click **Subscribe number**. > [!WARNING] > > Indian numbers require compliance approval. You may need to submit identity documents before your number is activated. > [!NOTE] > > Providers sometimes take up to 3 minutes to activate a new number after you subscribe, and calls from it are rejected until then. Wait a few minutes before you call from it. See [calling from a newly bought number](/docs/api-reference/calls/make#calling-from-a-newly-bought-number). *** ## Pricing All phone numbers cost **\$5/month** as a recurring subscription. The amount is deducted automatically from your Bolna wallet balance each month on the renewal date. > [!WARNING] > > Phone number charges are **separate** from call charges. The \$5/month covers only the number itself. Per-minute telephony and provider costs are billed separately when you make or receive calls. > [!NOTE] > > View [call pricing](/docs/pricing/call-pricing) for details on per-minute call costs and telephony charges. *** ## Deleting a phone number Delete a number you no longer need from the **My Numbers** table. **1. Click the delete icon** Find the number in the table and click the trash icon in the **Delete number** column. **2. Confirm the terms** The confirmation dialog shows the number you are about to delete and asks you to tick **I have read and understood the above, and I agree that this deletion is permanent and non-refundable**. The **Delete** button stays disabled until you tick the box. **3. Delete** Click **Delete**. The number is released from your account immediately. > [!WARNING] > > Deletion is permanent and takes effect immediately. Once deleted, neither you nor our support team can recover the number. **No refund is issued** for a deleted number, including for any unused portion of the current cycle. You will not be charged in the next cycle. > [!NOTE] > > If the number has a Truecaller status of **Pending**, **Active**, or **Delisting Pending**, the dialog flags that status before you confirm. See [Truecaller Verification](/docs/truecaller-verification) for what each state means. *** ## What can you do with purchased numbers? > [card] [Make outbound calls](/docs/outbound/making-calls) > > Call customers from your dedicated numbers > [card] [Receive inbound calls](/docs/inbound/receiving-calls) > > Route incoming calls to your Voice AI agents > [card] [Batch calling](/docs/outbound/batch-calling) > > Run calling campaigns at scale with CSV uploads > [card] [Supported telephony](/docs/supported-telephony-providers) > > Learn more about Twilio, Plivo, and Vobiz # Cartesia for Voice Agents – Setup Guide Source: https://www.bolna.ai/docs/cartesia Enable Cartesia voices in Bolna Voice AI agents for expressive, customizable AI voices using their latest voice models for multilingual Indian voices. To use Cartesia in a voice agent, open the agent's [Audio tab](/docs/agent-setup/audio-tab) in Bolna, choose Cartesia as the voice provider and pick a Sonic model (`sonic-3.6` is recommended for production). Cartesia's Sonic 3.6 covers 44 languages, including Hindi, and responds fast enough for live phone calls. ## What is Cartesia text-to-speech API? [Cartesia](https://cartesia.ai/) is a state-of-the-art text-to-speech (TTS) API that generates high-fidelity, natural-sounding speech for AI voice applications. Cartesia uses advanced neural network models to replicate human speech patterns, delivering expressive and realistic audio output that enhances user engagement in conversational AI systems. Cartesia TTS API is optimized for real-time voice synthesis with ultra-low latency, making it ideal for AI voice assistants, virtual customer support agents, conversational AI chatbots, and automated business communication systems. The platform offers multilingual voice support, customizable voice characteristics, and high-quality prosody that adapts to different use cases including customer service automation, sales outreach, appointment scheduling, and interactive voice response (IVR) systems. ## Why use Cartesia TTS for AI voice agents? Cartesia text-to-speech API offers powerful capabilities that make it an excellent choice for building conversational AI applications and voice automation systems: **Ultra-low latency voice synthesis**: Cartesia delivers real-time speech generation with minimal delay, ensuring natural conversation flow in AI voice assistants and customer support bots. This low-latency performance is critical for interactive applications where response time directly impacts user experience. **Natural-sounding neural voices**: Powered by advanced deep learning models, Cartesia produces human-like speech with natural prosody, intonation, and emotional expression. The neural TTS technology creates voices that sound authentic and engaging, improving user trust and satisfaction in AI interactions. **Multilingual and accent support**: Cartesia supports multiple languages and regional accents, enabling businesses to deploy AI voice agents for global audiences. This multilingual capability is essential for international customer support, sales automation, and localized voice experiences. **Customizable voice characteristics**: Businesses can fine-tune voice parameters to match their brand identity and use case requirements. Adjust speaking rate and volume to create distinct voice personas for different AI agent roles. **Scalable API infrastructure**: Cartesia's cloud-based TTS API scales automatically to handle high-volume voice synthesis requests, making it suitable for enterprise-grade conversational AI deployments and large-scale voice automation campaigns. **Sonic model family**: Cartesia's Sonic models, including Sonic 3.5 and Sonic 3.6, deliver state-of-the-art voice quality with improved naturalness and expressiveness for demanding voice AI applications. ## How to integrate Cartesia TTS with Bolna voice AI agents Bolna provides seamless integration with Cartesia's text-to-speech API, enabling you to build sophisticated AI voice agents with natural-sounding speech synthesis. The integration supports real-time voice generation for various conversational AI use cases. ### Use cases for Cartesia voice synthesis in Bolna **AI customer support automation**: Deploy Cartesia-powered voice agents that handle customer inquiries with empathetic, professional speech. The natural voice quality helps build trust and improves customer satisfaction in automated support interactions. **Sales and lead qualification bots**: Create AI sales agents with persuasive, engaging voices that can conduct outbound calls, qualify leads, and schedule appointments. Cartesia's expressive speech synthesis makes automated sales conversations feel more human and authentic. **Appointment scheduling and reminders**: Build voice AI systems that handle appointment booking, confirmations, and reminders with clear, friendly speech. The low-latency synthesis ensures smooth, real-time conversations. **Healthcare voice assistants**: Develop HIPAA-compliant voice agents for patient intake, appointment scheduling, and health information delivery. Cartesia's natural voices create comfortable, trustworthy interactions in healthcare settings. **E-commerce and order management**: Implement AI voice agents that assist with product inquiries, order tracking, and customer service. The multilingual support enables global e-commerce voice automation. **Survey and feedback collection**: Automate survey calls and feedback collection with conversational AI agents that use natural speech to improve response rates and data quality. ### Cartesia voice configuration in Bolna Bolna supports flexible configuration of Cartesia TTS parameters including voice selection, speaking rate, and language settings. You can configure Cartesia voices through the Bolna Platform interface or programmatically via the API for custom voice AI agent deployments. ## Supported Cartesia TTS models Bolna supports the following Cartesia text-to-speech models for AI voice synthesis: | Model | Description | | - | - | | `sonic-3` | Stable Sonic 3 release. 42 languages | | `sonic-3.5` | Stable Sonic 3.5 release. 42 languages | | `sonic-3.6` | Latest stable Sonic 3.6 snapshot, recommended for production agents. 44 languages in [Cartesia's list](https://docs.cartesia.ai/build-with-cartesia/tts-models/latest); Odia and Urdu are not yet selectable in Bolna | All three models work with every Cartesia voice available in Bolna. ## Getting started with Cartesia TTS integration Ready to build AI voice agents with Cartesia text-to-speech? You can configure Cartesia voices through the [Languages tab](/docs/agent-setup/audio-tab) in Agent Studio for quick testing or use the [Bolna API](/docs/api-reference/introduction) for programmatic integration in production applications. To connect your own Cartesia API account, visit the [Cartesia integration page](https://platform.bolna.ai/auth/cartesia) in your Bolna dashboard. ### Compare voice synthesis providers Explore alternative TTS providers to find the best fit for your AI voice agent requirements: * [ElevenLabs TTS](/docs/elevenlabs-voice) - Premium voice cloning and expressive synthesis * [Deepgram TTS](/docs/deepgram-voice) - Ultra-low latency voice generation * [AWS Polly](/docs/aws-polly) - Cost-effective cloud-based speech synthesis * [Azure TTS](/docs/azure-voice) - Enterprise-grade multilingual voices ### Related documentation * [Configure multilingual support](/docs/customizations/multilingual-languages-support) for global voice AI deployments * [Voice AI agent configuration](/docs/agent-setup/audio-tab) in Agent Studio * [API reference](/docs/api-reference/introduction) for programmatic voice agent creation Cartesia TTS integration enables Bolna to deliver natural, expressive, and low-latency voice synthesis for conversational AI applications across customer support, sales automation, healthcare, and more. # Bolna AI Updates for April, 2025 Source: https://www.bolna.ai/docs/changelog/april-2025 Explore the latest features, improvements, and API updates introduced in April 2025 for Bolna Voice AI agents. **29th April, 2025** ## Call Frequency Limiting * Set a limit on the maximum number of inbound calls allowed from a unique phone number to a given destination number. Call frequency limiting helps prevent spam, abuse, or unintended repeated calls. **27th April, 2025** ## Improvements * All inbound and outbound calls to have a maximum limit of `25KB` for injecting context. * Learn more on [injecting context for inbound calls](/docs/customizations/identify-incoming-callers) for inbound calls. * Learn more on [injecting context for outbound calls](/docs/prompting/using-context) for outbound calls). **23th April, 2025** ## Inbound Whitelist Control * Configure inbound rules to allow calls only from specific whitelisted phone numbers. Inbound whitelist control ensures that only trusted callers can initiate conversations with your agents. **20th April, 2025** ## Improvements * Latency improvements for agents using [guardrails](/docs/outbound/calling-guardrails). * Tool information will now be available in the post call analysis like [extraction](/docs/prompting/using-extractions) & summarization. **17th April, 2025** ## Deepgram Aura-2 TTS Support * Added support for [Deepgram's](/docs/deepgram-voice) Aura-2 TTS model `aura-2`. **16th April, 2025** ## Improvements * Transcripts will now be more [accurate by incorporating interruptions](/docs/customizations/capturing-precise-transcripts). **15th April, 2025** ## OpenAI GPT-4.1 Model Support * Added support for OpenAI's **GPT-4.1** family of models: `gpt-4.1`, `gpt-4.1-mini` & `gpt-4.1-nano`. **11th April, 2025** ## Improvements * Ability to remove voices from your account * Audio recordings are now stored in `dual` (stereo) mode for both inbound & outbound calls. # Bolna AI Updates for April, 2026 Source: https://www.bolna.ai/docs/changelog/april-2026 April 2026 Bolna changelog: conversation rating and feedback in the dashboard, plus confidence scores and reasoning added to extraction results. **29th April, 2026** ## Conversation Rating & Feedback You can now rate and leave feedback on individual conversations directly from the dashboard. After reviewing a call, score it from 1 (Poor) to 4 (Excellent) and optionally add a note to capture what went well or what needs improvement. Scores and notes stay internal to your team, making it easy to track agent quality over time and share context during reviews. ![Conversation rating dialog](https://mintcdn.com/bolna-54a2d4fe/bVfXF_bNzzamm1Mi/images/changelog/29_april_2026_conversation_rating.png?fit=max\&auto=format\&n=bVfXF_bNzzamm1Mi\&q=85\&s=fdb1201dc982ca24330ef0e209f55013) **22nd April, 2026** ## Import custom functions from cURL You can now paste a `curl` request while creating a custom function in the **Tools** tab and use it to generate a draft configuration automatically. This makes it much faster to bring existing API requests into Bolna without rebuilding the function setup from scratch. Learn more in the [Custom Functions documentation](/docs/tool-calling/custom-function-calls#generate-from-curl). **15th April, 2026** ## LLM reasoning in execution logs The [Get execution raw logs](/docs/api-reference/executions/get_execution_raw_logs) API now includes optional **`reasoning_content`** on LLM response rows when the underlying model returns traceable reasoning (for example OpenAI reasoning summaries or Gemini thinking). It appears alongside the usual **`data`** field for assistant turns. In the dashboard, use **Monitor → Call History → Logs** ([Call history](/docs/agent-setup/call-history)) to inspect execution logs while debugging. **14th April, 2026** ## Extraction Confidence, Reasoning & Typed Responses Extraction results now include richer signal to help you trust and act on post-call data: * **Confidence score** — every extraction result carries a `confidence` score (0.0–1.0) and a `confidence_label` (`"High"` ≥ 0.8, `"Medium"` ≥ 0.5, `"Low"` \< 0.5). Use these to route low-confidence results for human review before pushing data downstream. * **Reasoning** — `reasoning_subjective` and `reasoning_objective` explain exactly why the LLM produced each answer, making it much easier to audit unexpected results. * **Expected Format for free text** — you can now constrain free-text responses to a specific type: `timestamp` (ISO 8601), `numeric`, `boolean`, `email`, or a **custom regex** pattern. Responses are validated post-LLM; mismatches are flagged in a `validation` field while the original answer is still preserved. ```json theme={"system"} { "subjective": "user@example.com", "objective": null, "confidence": 0.95, "confidence_label": "High", "reasoning_subjective": "Customer clearly provided their email address during the call.", "validation": { "is_valid": true, "expected_type": "email" } } ``` Learn more in the [Using Extractions documentation](/docs/prompting/using-extractions) and [Dispositions API reference](/docs/api-reference/dispositions/overview). **14th April, 2026** ## Multilingual Agent Support You can now launch multilingual agents with language-specific configuration across prompts, speech recognition, and text-to-speech. This makes it easier to set up agents that can operate cleanly across multiple languages from a single workflow. Learn more in the [Multilingual voice agents documentation](/docs/customizations/multilingual-languages-support). **13th April, 2026** ## Region-Based Indian Phone Number Search You can now search Indian phone numbers by region directly in the dashboard. This makes it easier to find numbers for a specific geography. Learn more in the [Phone Numbers API documentation](/docs/api-reference/phone-numbers/search). **7th April, 2026** ## Unified Voice Configuration in Agent Setup You can now configure TTS voices from a single place in agent setup with a unified selector for provider, model, and voice. This makes it easier to find and apply the right voice without jumping across multiple controls. The updated voice selector includes: * Search across available voices by name * Gender filters for `male`, `female`, and `neutral` voices * Inline voice sample playback while selecting a voice Learn more in the [Audio Tab documentation](/docs/agent-setup/audio-tab). # Bolna AI Updates for August, 2025 Source: https://www.bolna.ai/docs/changelog/august-2025 Explore the latest features, improvements, and API updates introduced in August 2025 for Bolna Voice AI agents. **21st August, 2025** ## Support for scheduling calls at a future timestamp in `/call` endpoint. * If `scheduled_at` is provided, the call will be queued and executed at that timestamp. Refer [docs](https://www.bolna.ai/docs/api-reference/calls/make#body-scheduled-at). **20th August, 2025** ## Instantly Clone Voices with a Single Click * You can now create high-quality AI clones of any voice directly from the Voice Lab. * Simply provide a name and a 1-2 minute audio sample to generate a new, unique voice for your agents. * Voice cloning is powered by leading providers like ElevenLabs to ensure top-tier quality. Learn more in our [new guide to cloning voices](https://www.bolna.ai/docs/clone-voices). ![Voice Lab clone voices feature interface in Bolna showing one-click voice cloning with audio sample upload](https://mintcdn.com/bolna-54a2d4fe/mJ1zPF3eB4Dyupzj/images/clone_voices_1.png?fit=max\&auto=format\&n=mJ1zPF3eB4Dyupzj\&q=85\&s=b0886657f41e04c9832e9afc7e62d445) New 'Clone Voices' feature in the Voice Lab **3rd August, 2025** ## Added `OpenRouter` support * Support for the following models via [OpenRouter](/docs/openrouter). Learn more about OpenRouter from their [official website](https://openrouter.ai). 1. `gpt-4.1` OpenRouter OpenAI 2. `gpt-4.1-mini` OpenRouter OpenAI 3. `gpt-4.1-nano` OpenRouter OpenAI 4. `gpt-4o` OpenRouter OpenAI 5. `gpt-4o-mini` OpenRouter OpenAI 6. `gpt-4` OpenRouter OpenAI ![OpenRouter OpenAI model selection interface in Bolna showing available GPT models for Voice AI agents](https://mintcdn.com/bolna-54a2d4fe/mJ1zPF3eB4Dyupzj/images/changelog/3_august_2025_openrouter_openai_models.png?fit=max\&auto=format\&n=mJ1zPF3eB4Dyupzj\&q=85\&s=277da385a277d1c4a5ee433f289c2d93) OpenRouter OpenAI model clusters ## Add your own `OpenRouter` API keys * Use your own OpenRouter account by adding your API Key to the [OpenRouter provider](https://www.bolna.ai/docs/providers). ![OpenRouter provider connection setup in Bolna showing API key configuration](https://mintcdn.com/bolna-54a2d4fe/mJ1zPF3eB4Dyupzj/images/changelog/3_august_2025_openrouter_provider_connection.png?fit=max\&auto=format\&n=mJ1zPF3eB4Dyupzj\&q=85\&s=8e6529c1fc64ca65bca4614d1bf3e589) OpenRouter Provider connection # Bolna AI Updates for August, 2026 Source: https://www.bolna.ai/docs/changelog/august-2026 August 2026 Bolna changelog: chat-driven Workflows via the MCP server, Cartesia Sonic 3.6, ElevenLabs Eleven v3 and Gemini 3.5 Transcribe. **31st August, 2026** ## Speech-to-speech agents You can now run an agent on a single **realtime speech-to-speech model**, instead of separate speech-to-text, LLM and text-to-speech steps. It replies faster and sounds more natural, because it works with audio directly rather than converting to text and back. Turn it on with the **Realtime** voice engine in the agent editor, then pick a provider: * **OpenAI Realtime** * **Gemini Live** Your prompt, greeting, tools, recording and transcripts all carry over. Knowledge base, graph and multilingual agents stay on the standard setup. [Speech-to-speech agents](/docs/speech-to-speech) · [OpenAI Realtime](/docs/openai-realtime) · [Gemini Live](/docs/gemini-live) **29th August, 2026** ## Gemini 3.5 Transcribe now available for voice agents Google's `gemini-3.5-transcribe-live` speech-to-text model is now available as a transcriber. It delivers high transcription accuracy with low latency across a wide range of languages, and works on both telephony (8 kHz) and web (16 kHz) calls. Select a language from the supported set in the Audio tab, and connect your own Google API key from provider settings. [Gemini transcriber docs](/docs/gemini-transcriber) **27th August, 2026** ## 🔡 Nested JSON in prompt variables — and prompts containing JSON no longer break Prompt variables can now carry **whole JSON objects and arrays**, not just flat strings. Reach into them with a double-brace token and a dotted path: ```text agent prompt theme={"system"} Hi {{customer.name}}, you're on our {{customer.tier}} plan. Your last order {{orders.0.id}} is {{orders.0.status}}. Full trend data: {{score_trend}} ``` A token like `{{score_trend}}` on its own renders the entire object as JSON, array elements are reachable by index, and a value that arrives as a *stringified* JSON blob is parsed for you. The first segment of a path must be a **top-level key** of the data you passed — paths mirror your JSON exactly, starting at the root. This works everywhere variables already did: `user_data` on [`/call`](/docs/api-reference/calls/make), `userData` in the [Web Call SDK](/docs/developer-resources/sdks/web-call#passing-user-data), the JSON returned by [incoming caller identification](/docs/customizations/identify-incoming-callers), and graph agent nodes. **Prompts that contain JSON are now safe.** Previously, a single JSON example pasted into a prompt could stop *every* variable in that prompt from being substituted, leaving the agent to read placeholders like `{full_name}` out loud. Braces that don't look like a variable path are now left untouched, so a JSON snippet and your variables can live in the same prompt. Existing single-brace `{variable}` prompts keep working unchanged. An unresolved `{{variable}}` stays visible in the prompt as `{variable}`, which makes a mismatched path easy to spot in the transcript. 📘 [Adding variables](/docs/prompting/using-context#nested-json-variables) **27th August, 2026** ## Bring your own LLM endpoint You can now connect a self-hosted or third-party **OpenAI-compatible** model and run agents on it. Add it from **Integrations** under the **LLM** filter: give the model id your endpoint serves, its base URL, an API key and the model family. Bolna verifies the endpoint before saving, so a wrong key or a model your endpoint does not serve is caught at that point rather than on a live call. Your key is stored encrypted and sent to your endpoint as a bearer token, so an endpoint that requires authentication now works. Each model appears as its own card on Integrations and can be deleted from there, and a model still selected on an agent cannot be deleted until those agents are pointed elsewhere. Models added inside a sub-account stay in that sub-account, while models added on the account are available everywhere in it. [Using custom LLMs](/docs/custom-llm-inference) **26th August, 2026** ## 🌐 Webhooks and tool calls will start arriving from two additional IPs on 29th August From **29th August 2026, 12:00 AM IST** (28th August, 18:30 UTC), Bolna traffic egresses through NAT gateways in three availability zones instead of one. Outbound webhooks and HTTP tool calls will therefore reach your server from any of three source IPs: * `13.203.39.153` — existing * `13.126.9.249` — new * `13.202.133.53` — new `13.203.39.153` stays valid, so this is an addition rather than a replacement. If your firewall only allows that single address, **whitelist all three before the cutover** — requests from the new IPs will otherwise be dropped, taking webhook events and tool call responses with them. 📘 [Webhook IP whitelist](/docs/post-call/polling-call-status-webhooks#ip-whitelist) · [Custom function calls](/docs/tool-calling/custom-function-calls#source-ip-whitelist) · [Security](/docs/concepts/security#webhook-and-tool-call-security) **25th August, 2026** ## Transfer a call to your own SIP trunk A Transfer Call tool on an agent using [Plivo](/docs/plivo) telephony can now hand the call to a SIP URI instead of a phone number, so escalations land on your own trunk rather than going back out over the PSTN. Each transfer tool can also carry custom SIP headers, delivered on the outgoing INVITE with the names exactly as you write them, which is what lets your trunk route or annotate the call. Header values take the same `%(field)s` placeholders used elsewhere, so they can carry per-call data such as an order or account id. ```json theme={"system"} { "call_transfer_number": "sip:1234@sbc.example.com", "sip_headers": { "AccountId": "48219", "OrderId": "%(order_id)s" } } ``` In the dashboard, the Transfer Call modal offers a **Transfer destination** choice between a phone number and a SIP trunk URI, with a list for the headers and a picker for your agent's variables. [Transfer to a SIP trunk](/docs/tool-calling/transfer-calls#transfer-to-a-sip-trunk) **23rd August, 2026** ## 🔀 Workflows: build multi-step outreach sequences — now from chat too (beta) **Workflows** let you script what happens *around* a call, not just during it — retry in an hour if nobody answers, fall back to WhatsApp, branch on sentiment — as one versioned sequence you build once and publish. Now live through the API, and through the [Bolna MCP server](/docs/mcp-server) too. From chat, you can now say things like: * "Create a workflow that retries this agent's calls in an hour, then follows up over WhatsApp" — author and publish it without touching the dashboard * "Run this workflow against +91XXXXXXXXXX", or "start a campaign from this CSV of leads" — test one contact or launch a whole batch * "Pause the campaign for workflow X" / "What node is this contact stuck on?" — control a run in progress and see exactly where it is 27 new tools, same confirm-before-it-acts behavior as every other write in the server. 📘 [MCP Overview](/docs/mcp-server) · [Tool List](/docs/mcp-tool-list) · [Get started with Workflows](/docs/workflows/introduction) **19th August, 2026** ## Cartesia Sonic 3.6 is available for voice agents Cartesia's newest Sonic model can now be selected as a synthesizer, as `sonic-preview` in the API and **Sonic 3.6 (Beta)** in the dashboard. It supports **42 languages** and works with every Cartesia voice available in Bolna. Sonic 3.5 remains the recommended choice for production agents while 3.6 is in beta. > [!NOTE] > > **Update:** Sonic 3.6 is now generally available. Select it as `sonic-3.6` in the API and **Sonic-3.6** in the dashboard; `sonic-preview` is no longer accepted. Sonic 3.6 is now the recommended Cartesia model for production agents. [Cartesia voice synthesis](/docs/cartesia) **14th August, 2026** ## Gemini 3.7 Flash is available for voice agents Google's newest Gemini flash model can now power your voice agents. Pick **Gemini 3.7 Flash** from the model dropdown in your agent's LLM tab, or pass `gemini-3.7-flash` as the model over the API. It brings the strongest reasoning of the Gemini flash line, a 1M token context window and native multilingual handling. One setting to get right before you switch an agent over: set **`max_tokens` to 400 or higher**. Gemini 3.7 Flash always thinks before it speaks, and at the usual voice setting of 150 that thinking can use up the whole budget, leaving a cut-off reply or none at all. `gemini-2.5-flash` stays the recommended default when latency matters most. [Configure Google Gemini](/docs/gemini-llm) **12th August, 2026** ## Eleven v3 is available for voice agents ElevenLabs' most expressive model, `eleven_v3_conversational`, can now be selected as a synthesizer. It supports **74 languages**, including Hindi, Tamil, Bengali, Marathi, Gujarati, Kannada, Malayalam, Telugu and Punjabi, and every ElevenLabs voice available in Bolna works with it. One thing to know before switching an agent over: `speed`, `style` and `similarity_boost` have no effect on v3, and `temperature` maps to three stability presets (`0.0` creative, `0.5` natural, `1.0` robust). Turbo remains the default and the lower-latency option. [ElevenLabs voice synthesis](/docs/elevenlabs-voice) **10th August, 2026** ## Sarvam saaras:v4 Transcriber Support Bolna now supports Sarvam's **saaras:v4** transcriber model — the latest Saaras speech-to-text model, transcribing directly in the original spoken language with automatic language detection support. Supports all 11 Indian languages. Learn more in the [Sarvam STT documentation](/docs/sarvam-transcriber). **6th August, 2026** ## 🔌 Bolna joins viaSocket's app directory If you build automations in [viaSocket](https://viasocket.com/integrations/bolna), Bolna is now a first-class app you can drop into any flow — connect your API key once, no custom code needed. Six actions are live today: * **Make a Phone Call** — kick off an outbound call from any workflow * **Get All Executions** — pull call history and details into your flow * **List Voice AI Agents** — see every agent on your account * **List Phone Numbers** — see every number on your account * **List Knowledgebases** — see every knowledge base on your account * **List Providers** — see every provider connected to your account 📘 [viaSocket integration overview](/docs/tutorials/viasocket/overview) · [Create a Bolna API connection with viaSocket](/docs/tutorials/viasocket/create-bolna-api-connection) **5th August, 2026** ## 🛠️ The MCP server now controls nearly your whole account When the [Bolna MCP server](/docs/mcp-server) launched, it covered the basics — agents, calls, transcripts, account info. It's grown into something closer to a full remote control. From the same chat window, you can now say things like: * "Buy me a US number and route it to my support agent" — search, purchase, and set up inbound call routing * "Create a batch campaign from this CSV and schedule it for 9am" — batches can now be created, scheduled, stopped, or deleted, not just listed * "Add a disposition that pulls appointment\_time out of every call" — structured, typed data out of every transcript * "Set up a SIP trunk for my Twilio account and attach these numbers" — bring your own telephony * "Cancel every queued call for this agent" — stop one call or a whole agent's queue * "What did my Acme Corp sub-account spend this month?" — check and manage sub-accounts, and switch between them mid-conversation with a key you already have on hand Anything that deletes something, spends money, or places a real call still pauses for your confirmation first, same as before. 📘 [MCP Overview](/docs/mcp-server) · [Tool List](/docs/mcp-tool-list) · [Prompt Cheatsheet](/docs/mcp-prompts) **3rd August, 2026** ## 🎙️ Maya joins Bolna as a new voice synthesizer [Maya Research](https://www.mayaresearch.ai/)'s `Maya 2 Native` model is now available as a text-to-speech provider, with two voices — **Ananya** and **Arjun** — each covering all 11 supported languages, including Indian English. * Runs over a persistent WebSocket, so LLM output is spoken as it streams in rather than in fixed chunks * Language can switch mid-call without dropping the connection * Supports both telephony (mu-law) and web (native 24 kHz) audio 📘 [Maya voice provider docs](/docs/maya) # Bolna AI Updates for December, 2024 Source: https://www.bolna.ai/docs/changelog/december-2024 Explore the latest features, improvements, and API updates introduced in December 2024 for Bolna Voice AI agents. **24th December, 2024** ## Batch Management Enhancements * Download batches that have been uploaded * Display batch call status breakdown for better tracking ## API Updates * Batches APIs - Added breakdown for batches executions ([API doc](/docs/api-reference/batches/get_batch)) **18th December, 2024** ## New Features * Added Cartesia TTS support for voice synthesis * Implemented voicemail detection for Twilio & Plivo calls * Enabled call hangup using prompts (see [hangup live calls on Bolna](/docs/outbound/hangup-calls)) * Introduced multi-agent prompt building (see [multi-agent prompt](/docs/graph-agent/introduction)) **10th December, 2024** ## Major Platform Updates * Added support for over 40+ languages (see [supported languages](/docs/customizations/multilingual-languages-support)) * Knowledge Bases are now functional in all supported languages and work together with LLM-driven context (see [ingesting and using KBs](/docs/knowledge-base)) * Revamped batches for simpler processing and management (see [using batches](/docs/outbound/batch-calling)) * Added call hangup information for all calls ## Improvements & Migrations * Changed `execution_id` notation from `{agent_id}#{timestamp}` to a unique `{uuid}` format. * The execution ID overhaul addresses previous scaling issues and product complications. ## API Updates #### New APIs * Get call details using only `execution_id` ([API doc](/docs/api-reference/executions/get_execution)) * Set inbound agent programmatically ([API doc](/docs/api-reference/inbound/agent)) * Get a list of all added voices for your account ([API doc](/docs/api-reference/voice/get_all)) #### API changes * Call APIs - Outbound calls will now return the unique `execution_id` ([API doc](/docs/api-reference/calls/make)) * Batches APIs - removed redundant need of `agent_id` wherever applicable ([API doc](/docs/api-reference/batches/overview)) * Execution APIs - removed redundant need of `agent_id` wherever applicable ([API doc](/docs/api-reference/executions/overview)) # Bolna AI Updates for December, 2025 Source: https://www.bolna.ai/docs/changelog/december-2025 Explore the latest features, improvements, and API updates introduced in December 2025 for Bolna Voice AI agents. **20th Dec, 2025** ## Mention function calls using '@' in agent prompts You can now mention function calls directly in your agent prompt using the `@` symbol. Simply type `@` followed by the function name to reference it in your instructions, making it easier to guide your agent on when to use specific functions. ![Agent prompt interface showing '@' symbol for mentioning function calls in Bolna Voice AI agent instructions](https://mintcdn.com/bolna-54a2d4fe/a8_ZX7SCl7UJOzIw/images/changelog/20_december_2025_function_mention.png?fit=max\&auto=format\&n=a8_ZX7SCl7UJOzIw\&q=85\&s=57c8919d7833986a3c62269a27165c4e) Mention function calls using '@' in your agent prompt **13th Dec, 2025** ## New Transcriber Integration: Gladia You can now plug **[Gladia](/docs/gladia)** into Bolna for speech-to-text. This adds another strong choice for teams that want flexibility across languages and scenarios. **10th Dec, 2025** ## New Transcriber Integration: ElevenLabs Scribe **[ElevenLabs Scribe](/docs/elevenlabs-transcriber)** is now available as a transcriber option in Bolna. This provides more flexibility for building voice AI agents across different languages and use cases. **7th Dec, 2025** ## URL support for Knowledge Bases Knowledge Bases now support [website URLs](/docs/knowledge-base) as data sources, allowing you to ingest and reference content directly from web links. **4th Dec, 2025** ## Improved Knowledge Base support * Added support for multiple PDF documents which can be used together. * Fixed issues with function calls while using knowledge bases. * Improved retrieval accuracy and reduced response latency. # Bolna AI Updates for February, 2025 Source: https://www.bolna.ai/docs/changelog/february-2025 Explore the latest features, improvements, and API updates introduced in February 2025 for Bolna Voice AI agents. **24th February, 2025** ## Webcall Support * Added webcall support to help users build and test their Bolna Voice AI agents directly in the browser. **16th February, 2025** ## Voice Import Integration * Integrated support for [importing voices](/docs/import-voices) from multiple providers like ElevenLabs and Cartesia, along with custom voice options — making voice agent personalization on Bolna AI smoother and more flexible than ever. **13th February, 2025** ## Deepgram Nova-3 Model Support * Added [Deepgram `nova-3` model](/docs/deepgram-transcriber#supported-models) for speech to text capabilities. **8th February, 2025** ## ElevenLabs Flash v2.5 Model Support * Added [ElevenLabs `eleven_flash_v2_5` model](/docs/elevenlabs-voice#supported-models) for text to speech capabilities. **3rd February, 2025** ## Improvements * Hangup live calls automatically on [detecting silence](/docs/outbound/hangup-calls#silence-detection) and [using LLM prompts](/docs/outbound/hangup-calls#prompt-based-hangup). * Add a [hangup message](/docs/outbound/hangup-calls#personalized-hangup-message) to be spoken while disconnecting the call # Bolna AI Updates for February, 2026 Source: https://www.bolna.ai/docs/changelog/february-2026 Explore the latest features, improvements, and API updates introduced in February 2026 for Bolna Voice AI agents. **15th Feb, 2026** ## Override Agent Config in /call API The `/call` API now supports an `agent_data` parameter that lets you override agent configuration properties at call time. Currently, overriding the `voice_id` (for the same provider) is supported. This allows you to dynamically change the voice used for a specific call without modifying the agent's default configuration. ```json Example theme={"system"} { "agent_id": "123e4567-e89b-12d3-a456-426655440000", "recipient_phone_number": "+919876543210", "agent_data": { "voice_id": "Sam" } } ``` Learn more in the [Make a Phone Call API documentation](/docs/api-reference/calls/make). **13th Feb, 2026** ## Sarvam v3 Models Support Bolna now supports **Sarvam v3** models: * **saaras:v3** — New transcriber model configured for direct transcription in the original spoken language. Supports all 11 Indian languages. * **bulbul:v3** — New Sarvam TTS voice model for improved Indian language speech synthesis. Learn more about Sarvam transcriber models in the [Sarvam STT documentation](/docs/sarvam-transcriber) and voice models in the [Sarvam TTS documentation](/docs/sarvam-voice). **9th Feb, 2026** ## Deepgram: New Indian Languages Added Bolna now supports additional **Deepgram** Indian languages for speech recognition: * **bn** — Bengali * **kn** — Kannada * **mr** — Marathi * **te** — Telugu **7th Feb, 2026** ## API Rate Limiting Bolna APIs now enforce rate limits to ensure fair usage and platform stability. Rate limits are applied per **organization** (if the user belongs to one) or per **user** otherwise. **Endpoint-specific limits:** | Endpoint | Rate Limit | | - | - | | `/v2/agent/{agent_id}/executions` | 500 requests/minute | | `/v2/agent/{agent_id}` | 500 requests/minute | | `/call` | 500 requests/minute | All other API endpoints are subject to a default rate limit of **1000 requests per minute**. Requests exceeding the limit will receive an HTTP 429 response. Learn more in the [rate limiting documentation](/docs/api-reference/rate-limiting). **3rd Feb, 2026** ## Truecaller Verification Bolna now supports **Truecaller Verification** — users can get their phone numbers **verified on Truecaller**, so your calls show a verified identity to recipients. This helps build trust and can improve answer rates by making it clearer who’s calling. Learn more in the [Truecaller Verification documentation](/docs/truecaller-verification). # Bolna AI Updates for January, 2025 Source: https://www.bolna.ai/docs/changelog/january-2025 Explore the latest features, improvements, and API updates introduced in January 2025 for Bolna Voice AI agents. **16th January, 2025** ## Bug fixes * Execution `status` wasn't getting updated for few incoming calls with connected Twilio telephony ## API Updates * Agent APIs - Added functionality to programmatically delete agents via APIs ([API doc](/docs/api-reference/agent/v2/delete)) **10th January, 2025** ## Bug fixes * Few executions were erroneously losing the `batch_id` mapping # Bolna AI Updates for January, 2026 Source: https://www.bolna.ai/docs/changelog/january-2026 Explore the latest features, improvements, and API updates introduced in January 2026 for Bolna Voice AI agents. **27th Jan, 2026** ## Vobiz Telephony Integration * Introducing native Vobiz integration for Voice AI calling in India and global markets * Connect your existing Vobiz account securely to Bolna for complete control over your telephony infrastructure * Make outbound AI calls and receive inbound calls using your own Vobiz phone numbers * Support for both dashboard-based calling and programmatic API integration * Learn more in the [Vobiz integration documentation](/docs/vobiz) **26th Jan, 2026** ## Auto-Retry for Failed Calls Automatically retry calls that fail due to no-answer, busy signals, or errors. Configure retry attempts, delays, and which statuses trigger retries. **Key features:** * Up to 3 automatic retry attempts * Configurable delays between retries * Works with single calls and batch campaigns * Webhook notifications include retry status Learn more in the [auto-retry documentation](/docs/outbound/auto-retry). **26th Jan, 2026** ## IVR Support for Inbound Calls Bolna now supports IVR (Interactive Voice Response) for Plivo inbound calls. Route callers to different Voice AI agents based on their menu selections. **Key features:** * **Menu steps** - Present options and route based on digit pressed * **Collect steps** - Gather multi-digit input (account numbers, PINs) * **Multi-agent routing** - Different agent per menu option * **Conditional branching** - Build complex flows with language selection * **Context passing** - All collected data sent to agent as context Configure IVR via the `/inbound/setup` API by adding `ivr_config` to your request. Learn more in the [IVR documentation](/docs/inbound/ivr). ```json theme={"system"} { "ivr_config": { "enabled": true, "voice": "Polly.Aditi", "welcome_message": "Welcome to Acme Corp.", "steps": [ { "step_id": "department", "type": "menu", "prompt": "Press 1 for Sales. Press 2 for Support.", "field_name": "department", "options": [ {"digit": "1", "label": "Sales", "agent_id": "sales-agent-id"}, {"digit": "2", "label": "Support", "agent_id": "support-agent-id"} ] } ] } } ``` **6th Jan, 2026** ## Multilingual Message Auto Switching Bolna now automatically detects the language your users speak and adapts system messages accordingly. Bolna agents analyze conversation patterns and intelligently switche messages to match the detected language. Bolna agents are now able to identify the dominant language while handling real-world conversational scenarios where users mix languages. This ensures messages are delivered in the language users actually prefer for substantive communication. **Currently supported message types:** * **User online check message** - The "are you still there?" prompt when checking if users are on the call * **Call hangup message** - Closing messages when the agent ends a call * **Pre-function call message** - Brief wait messages while executing custom tools or API calls Configure multilingual variants using language codes (e.g., `en`, `hi`, `ta`, etc) and Bolna handles the rest. Learn more in the [language detection documentation](/docs/customizations/auto-switch-multilingual-messages). **5th Jan, 2026** ## Noise Cancellation During Calls Bolna now supports noise cancellation during calls, providing clearer audio quality by filtering out background noise for both the agent and the caller. ![Noise cancellation toggle to choose the level on Bolna platform](https://mintcdn.com/bolna-54a2d4fe/e3luLN3vWpCacagZ/images/changelog/5_january_2026_noise_cancellation.png?fit=max\&auto=format\&n=e3luLN3vWpCacagZ\&q=85\&s=b14c7b46561f4f11ad6b57143f548982) Noise cancellation level **2nd Jan, 2026** ## Auto Reschedule Automatically reschedule calls when a user asks to be called at a specific time. The agent will intelligently detect scheduling requests and handle the rescheduling process seamlessly. ![Toggle to automatically reschedule calls on Bolna platform](https://mintcdn.com/bolna-54a2d4fe/e3luLN3vWpCacagZ/images/changelog/2_january_2026_auto_reschedule.png?fit=max\&auto=format\&n=e3luLN3vWpCacagZ\&q=85\&s=13c9f896167a8a823f89bf247353aff9) Auto reschedule toggle # Bolna AI Updates for July, 2025 Source: https://www.bolna.ai/docs/changelog/july-2025 Bolna updates for July 2025: India data residency, APIs to search, buy and delete phone numbers, Rime TTS voices and more for voice AI agents. **30th July, 2025** ## Bolna AI Data Residency * [Introducing India Data Residency](/docs/enterprise/data-residency) for enterprise-grade Voice AI, now hosted in India for compliance and improved performance. **28th July, 2025** ## Phone Number Management APIs * Search available phone numbers [using APIs](/docs/api-reference/phone-numbers/search). * Buy available phone numbers [using APIs](/docs/api-reference/phone-numbers/buy). * Delete and remove phone numbers [using APIs](/docs/api-reference/phone-numbers/delete). **7th July, 2025** ## Rime TTS Voice Support * Added [Rime TTS](/docs/rime) voices and models: * `arcana` models and voices * `mistv2` models and voices **2nd July, 2025** ## Sarvam Bulbul v2 WebSocket Integration * Incorporated websockets for Sarvam `bulbul:v2` model to improve real-time performance. # Bolna AI Updates for July, 2026 Source: https://www.bolna.ai/docs/changelog/july-2026 July 2026 Bolna changelog: the public beta of the Bolna CLI for terminal agent management, plus the Web Call SDK for in-browser voice calls. **31st July, 2026** ## 📚 Search and read the docs from your AI assistant or the terminal You can now search and read Bolna's documentation without opening a browser — right from your AI assistant or the CLI, no login needed. * **AI assistant:** connected over the [MCP server](/docs/mcp-server)? Just ask something like "how do I set up a webhook?" and it finds the right page and reads it back to you, instead of guessing. * **Terminal:** `bolna docs search ` finds the page you need, and `bolna docs fetch ` prints it right there in your terminal. Handy when you're heads-down in code or a chat and don't want to break flow to go dig through the docs site. 📘 [MCP Tool List](/docs/mcp-tool-list) · [docs search](/docs/cli/commands/docs-search) · [docs fetch](/docs/cli/commands/docs-fetch) **23rd July, 2026** ## 🎙️ Talk to your agent right from the browser Want callers to talk to your voice agent without dialing a number? The new **Web Call SDK** (`@bolna/web-call`) lets you drop a live, spoken conversation straight into any web page: a landing page, a support widget, an in-app "talk to us" button, anywhere your users already are. It's built to stay simple on the surface. Mint a short-lived call session from your own backend, point the SDK at it, and call `start()` from a button click. Your Bolna API key never has to touch the browser, and the SDK handles microphone permissions, connection setup, and cleanup for you. A few things that make it easier to build on: * **Copy-paste starter templates** for Next.js (deploys as-is on Vercel) and plain HTML plus Node, so you can go from nothing to a working call button in minutes. * **A small, predictable event set,** including `call-start`, `call-end`, `error`, and `volume-level`, so you can drive your own UI instead of fighting the SDK's. * **Practical guardrails**, like clear error codes for capacity limits and blocked autoplay, with an FAQ for the issues developers actually hit. This is a beta release, available for any account on request. Reach out on [Slack](https://www.bolna.ai/join-slack) or email [support@bolna.ai](mailto:support@bolna.ai) to have it enabled. 📘 [Web Call SDK docs](/docs/developer-resources/sdks/web-call) **19th July, 2026** ## 🚀 Bolna CLI Beta — manage your voice agents from the terminal We're excited to announce the public beta of the **Bolna CLI** (`bolna`), bringing agent, call, and account management to your terminal — and a full-screen dashboard when you'd rather look than type. ![Bolna CLI demo showing commands run in a terminal](https://mintcdn.com/bolna-54a2d4fe/TzYhw_uvJhz-N-Qn/images/changelog/demo.gif?s=ba2d6178a129fe5f037aa68f4540503d) bolna-cli in action ```bash theme={"system"} go install github.com/bolna-ai/cli/cmd/bolna@latest ``` **What you can do** * **Manage agents end-to-end** — list, view, create, update, and delete agents, with a before/after diff and confirmation on every change. * **Place and track calls** — start a real outbound call, list history, and pull a full transcript, without opening the dashboard. * **Script and pipe** — every list command supports `--json` or `--csv`, and `-q` prints bare IDs for piping into `xargs` and CI. * **Watch it visually when you want to** — run `bolna` with no arguments for a full-screen dashboard: live wallet balance, a command palette, and a guided call-start flow. **Built for developers** * **Same tools as MCP** — every command maps 1:1 to a tool in the [Bolna MCP server](/docs/mcp-server)'s list, so a script and an AI assistant work against the exact same operations. * **Never spends money silently** — starting a call always shows your current wallet balance and asks for confirmation, unless a script explicitly passes `--yes`. This is a beta release — commands and flags may still change as we gather feedback. Report an issue or contribute on [GitHub](https://github.com/bolna-ai/cli). 📘 [CLI Overview](/docs/cli/introduction) · [Installation](/docs/cli/installation) · [Quickstart](/docs/cli/quickstart) · [Changelog](/docs/cli/changelog) **17th July, 2026** ## Bolna MCP Server — connect any AI assistant to your account ![Introducing the Bolna MCP Server — run Bolna from inside your AI assistant](https://mintcdn.com/bolna-54a2d4fe/TzYhw_uvJhz-N-Qn/images/changelog/mcp.png?fit=max\&auto=format\&n=TzYhw_uvJhz-N-Qn\&q=85\&s=f753db24f23d515808bd8d7402e061da) Run Bolna from inside your AI assistant The Bolna MCP server exposes agents, calls, phone numbers, batches, and account info as typed tools to Claude, Cursor, Windsurf, Codex, Zed, or any other MCP client. Point your client at the URL, then prompt your way through the integration — no dashboard tab required. ``` URL: https://mcp.bolna.ai/api/mcp Header: Authorization: Bearer ``` * **Check on your account** → "List my agents", "what's my wallet balance?" — quick lookups without opening the dashboard. * **Debug a call** → "Get the last 5 executions for agent X and show me the transcript for any that failed" — the assistant chains the lookups for you. * **Build and change agents** → "Create a Hindi lead-qualification agent using Sarvam and GPT-4o mini" — describe the change, the assistant makes the call. * **Confirm before it acts** → `update_agent`, `delete_agent`, and `start_outbound_call` are flagged destructive in their tool definitions — most clients pause for your confirmation before running them. No key is stored server-side — it travels with each request — and the server is [open source](https://github.com/bolna-ai/mcp). 📘 [MCP Overview](/docs/mcp-server) · [Quickstart](/docs/mcp-quickstart) · [Tool List](/docs/mcp-tool-list) · [Prompt Cheatsheet](/docs/mcp-prompts) **16th July, 2026** ## New OpenAI models: GPT-5.6 and GPT-5.5 Pro GPT-5.6 (Sol, Terra, Luna) and GPT-5.5 Pro are now available as LLMs for your voice agents. `gpt-5.6-sol` is the flagship for the hardest reasoning and coding, `gpt-5.6-terra` balances quality and cost for high-volume production agents, and `gpt-5.6-luna` is a fast, low-cost option for everyday voice. `gpt-5.5-pro` targets maximum quality on complex reasoning, though its latency makes it unsuitable for real-time calls. Select any of them as the model in your agent's LLM config. See [OpenAI models](/docs/openai-llm) for the full list and guidance. **9th July, 2026** ## Multilingual static messages for graph agents Static nodes in a [graph agent](/docs/graph-agent/static-nodes) can now hold a per-language message. Instead of a single string, `static_message` accepts a `{ "language_code": "text" }` map, and the node speaks the variant that matches the caller's active language. Highlights: * One pre-cached clip per language, each rendered with that language's voice, so playback stays instant with zero LLM cost at call time * Automatically follows [language auto-switch](/docs/customizations/auto-switch-multilingual-messages), so a caller who moves to Hindi or Tamil hears the matching-language clip on the next static node * Fully backward compatible: a plain-string `static_message` behaves exactly as before Learn more in [Static nodes](/docs/graph-agent/static-nodes#multilingual-static-messages). **7th July, 2026** ## Filter Webhooks by Call Status You can now choose which call statuses trigger your webhook, instead of receiving a POST for every status change. This cuts noise for integrations that only care about specific outcomes (for example, only firing on `completed`). To set it up: * Open your agent and go to the **Extractions** tab. * Enter your **Webhook URL** under Webhook Configuration. * Use **Trigger on statuses** to select the statuses you want webhooks for. By default, **all statuses** are sent. Learn more in the [Using Webhooks](/docs/post-call/polling-call-status-webhooks) guide and the [Extractions Tab](/docs/agent-setup/analytics-tab) documentation. **2nd July, 2026** ## Router nodes for graph agents Graph agents now support **router nodes**: silent dispatch nodes that pick the next node and hand off without ever speaking. Use them to branch on call data or caller intent, at the start of a flow or mid-flow, without adding a spoken turn. A router node evaluates its edges in order (deterministic [expression](/docs/graph-agent/edges-and-routing) edges first, then intent-based edges, then a required catch-all) and immediately transitions to the chosen node. Learn more in [Router nodes](/docs/graph-agent/router-nodes). # Bolna AI Updates for June, 2025 Source: https://www.bolna.ai/docs/changelog/june-2025 Bolna updates for June 2025: an On-Premise offering in private beta, ingest_source_config for inbound calls, and more for voice AI agents. **29th June, 2025** ## Bolna AI On-Premise Offering * Rolling out Bolna AI [On-Premise offering](/docs/enterprise/on-premise-deployments) in Private Beta for enterprise customers. **26th June, 2025** ## Agent Data Ingestion Configuration * Exposed `ingest_source_config` for agents, enabling inbound calls to ingest user data via APIs. * The following APIs have been updated to reflect these changes: * Get Agent API [API reference doc](/docs/api-reference/agent/v2/get) * Create Agent API [API reference doc](/docs/api-reference/agent/v2/create) * Update Agent API [API reference doc](/docs/api-reference/agent/v2/update) * Patch update Agent API [API reference doc](/docs/api-reference/agent/v2/patch_update) * List Agents API [API reference doc](/docs/api-reference/agent/v2/get_all) **24th June, 2025** ## TTS Model Switching in UI Dashboard * Enabled TTS model switching directly from the UI Dashboard for easier voice model management. ![TTS synthesizer model provider selection interface in Bolna dashboard showing voice models for Voice AI agents](https://mintcdn.com/bolna-54a2d4fe/mJ1zPF3eB4Dyupzj/images/changelog/24_june_2025_tts_models_switching.png?fit=max\&auto=format\&n=mJ1zPF3eB4Dyupzj\&q=85\&s=0c719be18b291978c7e4cd4cbe47faf8) Synthesizer Model Providers options **20th June, 2025** ## Sub-Account API Endpoints * Added the following APIs for sub-account management: * Create sub-account API [API reference doc](/docs/api-reference/sub-accounts/create) * List all sub-accounts API [API reference doc](/docs/api-reference/sub-accounts/get_all) * Track sub-accounts usage API [API reference doc](/docs/api-reference/sub-accounts/usage) # Bolna AI Updates for June, 2026 Source: https://www.bolna.ai/docs/changelog/june-2026 June 2026 Bolna changelog: Studio's AI-generated agent prompts, a visual editor for graph agents, and Bolna Skills for AI coding assistants. **29th June, 2026** ## Per-account concurrency for sub-accounts Organizations can now split their concurrency pool across the main account and each sub-account using two settings per account: * **`min_concurrency`** — concurrency guaranteed to an account even when the organization is at capacity * **`max_concurrency`** — the account's hard cap; leave it unset for an **elastic** account that bursts into the organization's unused capacity, or set `0` to pause it Guarantees are honored first each scheduling cycle, spare capacity is then shared fairly among accounts that still have calls waiting, and anything that doesn't fit is queued and dialed as capacity frees up. Edits are validated so per-account minimums and maximums always stay within the organization envelope. Set the limits when you [create](/docs/api-reference/sub-accounts/create) or [update](/docs/api-reference/sub-accounts/patch_update) a sub-account (organization admins only). Learn more in [Concurrency management](/docs/enterprise/concurrency-management). **27th June, 2026** ## Soniox Real-Time Transcriber (Speech to Text) Bolna now supports **Soniox** as a streaming transcriber, powered by its real-time `stt-rt-v5` model. A single Soniox model transcribes whatever is spoken — including mid-sentence switches between English and a regional language (Hinglish and similar) — over one connection, with no per-language switching. Highlights: * **Native multilingual + code-switching** in a single stream * **Semantic endpoint detection** for low-latency, natural turn-taking * **Per-token language identification** * Works for both telephony and web calls Select **Soniox v5** in the Audio tab and choose the multilingual option (auto-detect) or a specific language such as Hindi. Learn more in the [Soniox transcriber documentation](/docs/soniox). **23rd June, 2026** ## Typed Variables for Graph Agent Routing Expression edges in graph agents can now declare the **type** of the values they compare. Add a `variable_types` map to the graph config and both sides of a comparison are converted before matching, so a value that arrives as a string (like `"18"` or `"true"`) still compares correctly against a number or boolean. ```json theme={"system"} "variable_types": { "recipient_data.age": "number", "recipient_data.hold_status": "boolean" } ``` Supported types are `string`, `number`, and `boolean`. Learn more in [Edges & Routing](/docs/graph-agent/edges-and-routing#typed-variables). **23rd June, 2026** ## Per-Node Tools and Call Ending for Graph Agents Graph agent tools can now be limited to specific nodes. Add `scope: "node"` and a `nodes` list to a tool in `tools_params`, and the LLM only sees that tool while the call is on those nodes. This prevents wrong tool calls and keeps each step focused. ```json theme={"system"} "fetch_order_status": { "scope": "node", "nodes": ["collect_order", "confirm_order"] } ``` The same control applies to ending the call: set `function_call: "end_call"` on a node (with `hangup_after_LLMCall: false`) and the call only hangs up from the nodes you choose. Learn more in [Tools & Knowledge Base](/docs/graph-agent/tools-and-rag#limiting-a-tool-to-specific-nodes). **22nd June, 2026** ## Visual editor for graph agents Graph agents now have a visual editor in the dashboard. Build and edit your flow on a canvas: add nodes, draw transitions, set per-node instructions, manage variables, test the flow, and track versions, all without hand-editing JSON. Learn more in [Using the editor](/docs/graph-agent/using-the-editor). **19th June, 2026** ## Pre-call Webhooks for the Transfer Call Tool The built-in **Transfer Call** tool can now fire a **pre-call webhook** — a notification sent to a URL of your choice *before* the call is transferred. A typical use case is sending the transfer reason to your system so a human agent has context the moment the call connects. It uses the same two optional fields as custom tools: * `pre_call_webhook_param` — the JSON body template to send. This is the on/off switch; if it is not set, no pre-call webhook fires. * `pre_call_webhook_url` — where to send it. If left blank, the agent-level Webhook URL is used. The body template supports `%(field)s` substitution from the transfer tool's runtime arguments — `%(reason)s`, `%(summary)s`, `%(call_transfer_number)s`, and `%(call_sid)s` (missing fields are sent empty). The webhook is fire-and-forget, so a slow or failing endpoint never blocks the transfer. The body is the same execution record as the post-call execution webhook, merged with your `pre_call_webhook_param` fields. In the dashboard, the Transfer Call modal adds a **Send a pre-call webhook before transfer** toggle that reveals the URL and parameters inputs. Learn more in the [Transfer Call documentation](/docs/tool-calling/transfer-calls#pre-call-webhook). **18th June, 2026** ## Global Knowledge Base for Graph Agents Graph agents can now use one knowledge base across every node. Set `rag_config` once at the top level of the graph config and all nodes use it, while any node can still override it with its own `rag_config`. You can also search several collections at once by passing `vector_ids` instead of a single `vector_id`. ```json theme={"system"} "rag_config": { "vector_store": { "provider_config": { "vector_ids": ["policies_v1", "faqs_v2"] } }, "similarity_top_k": 10 } ``` Learn more in [Tools & Knowledge Base](/docs/graph-agent/tools-and-rag#knowledge-base). **13th June, 2026** ## Studio — Production-Ready Agents from a Short Brief Introducing **Studio** — Bolna's AI-powered prompt generation tool. Go from a short description of your use case to a fully structured, production-grade voice AI agent — no prompt engineering required. How it works: * Fill in a 3-step form (Identity & Goal → Conversation → Closing) or upload a document (PDF, DOCX, TXT, CSV) and let the builder extract the details automatically * The more context you provide, the better the agent — you can do both * The pipeline selects the right modules, writes the full prompt, runs a safety check, and auto-selects the best voice for your language and gender settings * The agent is saved and ready to make calls when done Click **New Agent → Auto Build** in Agent Studio to get started. Learn more in the [Studio documentation](/docs/agent-setup/studio). **12th June, 2026** ## Pre-call Webhooks for Custom Function Tools Custom function tools can now fire a **pre-call webhook** — a notification sent to a URL of your choice *before* the tool's main API call runs. A typical use case is a tool that transfers the call, where your system needs the transfer reason *before* the transfer happens. Two new optional fields on every custom tool: * `pre_call_webhook_param` — the JSON body template to send. This is the on/off switch; if it is not set, no pre-call webhook fires. * `pre_call_webhook_url` — where to send it. If omitted, the agent-level Webhook URL is used. The webhook is fire-and-forget, so a slow or failing endpoint never blocks the function call. The body is the same execution record as the post-call execution webhook, merged with your `pre_call_webhook_param` fields. The dashboard's custom tool configuration adds matching **Pre-call webhook URL** and **Pre-call webhook parameters** inputs. Learn more in the [Pre-call Webhooks documentation](/docs/tool-calling/pre-call-webhooks). **5th June, 2026** ## Bolna Skills — AI Coding Assistant Integration Introducing [Bolna Skills](/docs/skills) — structured instructions that teach AI coding assistants like **Claude Code**, **Cursor**, and **Codex** to build, deploy, and operate Bolna voice agents using natural language prompts. Install with a single command: ```bash theme={"system"} npx skills add bolna-ai/skills ``` Once installed, your AI assistant can: * **Create agents** — configure LLM, voice, transcriber, telephony, and tools in one shot * **Make calls** — place outbound calls with dynamic variables and auto-retry * **Run batch campaigns** — launch CSV-driven outbound campaigns at scale * **Set up inbound numbers** — wire phone numbers to agents with IVR menus * **Debug calls** — run symptom-to-fix diagnostics using execution logs * **Build graph agents** — create node-based call flows with deterministic routing 20 skills are available across build, call, monitor, and advanced categories. Supports Claude Code, Cursor, Codex, and any assistant compatible with the [Agent Skills](https://agentskills.io) format. Learn more in the [Bolna Skills documentation](/docs/skills). # Bolna AI Updates for March, 2025 Source: https://www.bolna.ai/docs/changelog/march-2025 Explore the latest features, improvements, and API updates introduced in March 2025 for Bolna Voice AI agents. **31st March, 2025** ## Improvements * Enabling `strict` mode for custom tools to ensure function calls reliably adhere to the function schema, instead of being best effort. * Updating the UI for the custom tools and improving the [documentation with examples](/docs/tool-calling/custom-function-calls). **22nd March, 2025** ## Dynamic Caller Identification * Bolna Voice AI agents can now dynamically identify incoming callers in real time via: 1. using [your internal APIs](/docs/customizations/identify-incoming-callers#internal-api) which returns records mapped to a phone number, 2. using uploaded [CSV files](/docs/customizations/identify-incoming-callers#csv-upload) or 3. using publicly linked [Google Sheets](/docs/customizations/identify-incoming-callers#google-sheets). **18th March, 2025** ## Azure Transcriber Support * Added Azure's transcriber models for speech to text. **14th March, 2025** ## Improvements * Infrastructure changes & updates to improve initial conversational latencies. **9th March, 2025** ## Bolna Status Page Launch * Launched the [Bolna Status page](https://status.bolna.ai) where you can track real-time system updates, maintenance notices, and any ongoing outage updates. **7th March, 2025** ## Bug fixes * Bolna Voice AI agents will now have the context about current `timestamp` & `timezone` automatically by default which can be used. This helps the agent compute times accurately based on your local setting. * This can be [overridden](/docs/prompting/using-context#setting-the-timezone) by passing the `timezone` as well. # Bolna AI Updates for March, 2026 Source: https://www.bolna.ai/docs/changelog/march-2026 Explore the latest features, improvements, and API updates introduced in March 2026 for Bolna Voice AI agents. **26th March, 2026** ## Custom Ambient Noise Tracks You can now upload your own **custom ambient noise tracks** in addition to the existing presets. This gives you full control over the background soundscape of your calls. **What's new:** * **Upload custom tracks** via `POST /ambient-sounds/custom` — supports `wav` and `mp3` formats, up to **10 MB** * **Delete custom tracks** via `DELETE /ambient-sounds/{sound_id}` * **List all tracks** via `GET /ambient-sounds` — returns both presets and your custom tracks, each with a `type` field (`preset` or `custom`) **What's changed:** * `ambient_noise_track` now accepts the **id** of an ambient sound record instead of a preset name enum * The three preset tracks remain available with the same IDs: `coffee-shop`, `office-ambience`, `call-center` Ambient noise continues to be supported with **Plivo** and **Vobiz** telephony providers. Read more in the [Call Tab documentation](/docs/agent-setup/call-tab#ambient-noise). **24th March, 2026** ## Extractions - Capture Structured Data from Call Transcripts We've added **Extractions** to automatically pull structured data from your call transcripts. Instead of manually reviewing conversations, you can set up categories and questions to extract things like lead quality, appointment details, or customer sentiment. Here's what you can do: * **Organize by category** - Group related extractions together (like "Visit Details" or "Lead Qualification") * **Choose your answer format** - Use free text for open-ended responses or pre-defined options with conditional logic * **Use variables** - Reference call data like `{name}`, `{email}`, or `{candidate_name}` in your extraction prompts * **Test before deploying** - Try out your extractions on sample transcripts or paste in custom ones * **Multiple access methods** - Available via Dashboard, Executions API, Webhooks, and Batch Executions Extractions return data in this format: ```json theme={"system"} { "extracted_data": { "Category Name": { "Extraction Name": { "subjective": "Free text response from LLM", "objective": "Pre-defined value or null" } } } } ``` Use it for lead scoring, syncing appointments, preventing churn, compliance auditing, or general call intelligence. Learn more in the [Using Extractions documentation](/docs/prompting/using-extractions) and [Dispositions API reference](/docs/api-reference/dispositions/overview). **18th March, 2026** ## Prompt Variables for Date, Time & Timezone You can now use `{current_date}`, `{current_time}`, and `{timezone}` as variables directly in your agent prompts for more control over placement and formatting of date/time information. | Variable | Description | Example Value | | - | - | - | | `{current_date}` | Current date in the user's timezone | `Wednesday, March 18, 2026` | | `{current_time}` | Current time in the user's timezone | `02:30:15 PM` | | `{timezone}` | Timezone name per tz database | `Asia/Kolkata` | Read more in the [Using Context documentation](/docs/prompting/using-context#setting-the-timezone). **16th March, 2026** ## Ambient Noise for Calls You can now add background ambient noise to your calls for a more natural, human-like experience. Use the `ambient_noise_track` parameter to select a preset track. Available tracks: * **`coffee-shop`** — Background sounds of a coffee shop environment * **`office-ambience`** — Subtle office background noise * **`call-center`** — Call center ambient sounds Set `ambient_noise_track` to `None` to disable ambient noise (default). Ambient noise is supported with **Plivo** and **Vobiz** telephony providers. *** ## In-Call Reschedule Validation When a user asks to reschedule a call to a specific time during a conversation, the system now validates the requested time against the agent's allowed calling window before scheduling it. **Priority order for validation:** 1. **`calling_guardrails`** — explicit `call_start_hour` / `call_end_hour` config always takes precedence 2. **Agent prompt** — if no explicit guardrails are set, the LLM reads the agent's system prompt for any mentioned time restrictions 3. **Default window (9 AM – 9 PM)** — fallback if neither of the above is configured If the requested reschedule time falls outside the allowed window, the request is rejected entirely. Read more in the [Calling Guardrails documentation](/docs/outbound/calling-guardrails#in-call-reschedule-validation). *** ## Vobiz Telephony Number Buying You can now search and purchase phone numbers from **Vobiz** directly via the API and the dashboard UI. The `provider` parameter has been added to phone number search and purchase endpoints, supporting `twilio`, `plivo`, and `vobiz`. Read more in the [Phone Numbers API documentation](/docs/api-reference/phone-numbers/search). **14th March, 2026** ## Google Gemini Flash Models Support Bolna now supports **Google Gemini** Flash models as LLM providers for voice AI agents. The following models are available: * **gemini-2.5-flash** — Production-ready, best speed and quality balance. 1M token context window. * **gemini-2.5-flash-lite** — Most cost-effective in the Gemini 2.5 family, optimized for low latency. * **gemini-3-flash-preview** — Next-generation Gemini model with improved reasoning (released Dec 2025). * **gemini-3.1-flash-lite-preview** — Fastest throughput at 363 tokens/sec, ideal for high-volume workloads (released Mar 2026). All models support **English, Hindi, Gujarati, French, Italian, and Spanish**. Learn more in the [Google Gemini documentation](/docs/gemini-llm). **9th March, 2026** ## Multilingual Knowledge Base Support Knowledge bases now support **multilingual** language mode. When creating a knowledge base, set `language_support` to `multilingual` to enable cross-lingual retrieval across 100+ languages. This enables: * Uploading documents in any language (Hindi, Spanish, French, etc.) * Cross-lingual retrieval — query in one language, retrieve from documents in another Set the `language_support` parameter via the [Create Knowledgebase API](/docs/api-reference/knowledgebase/create) or through the dashboard when adding a new knowledge base. Read more in the [Knowledge Base documentation](/docs/knowledge-base/add-sources#multilingual-knowledge-bases). **3rd March, 2026** ## Provision to purchase 140 & 160 series phone numbers Bolna agents can now be triggered with 140 & 160 series phone numbers to comply with TRAI regulations. Read about procuring these phone numbers on [Purchase special phone numbers documentation](/docs/obtaining-regulated-phone-numbers). # Bolna AI Updates for May, 2025 Source: https://www.bolna.ai/docs/changelog/may-2025 Bolna updates for May 2025: lower-latency Azure TTS, Smallest.ai Lightning-v2 voices, 40-minute calls and more for Bolna voice AI agents. **28th May, 2025** ## Latency Improvements for Azure TTS * We've optimized our Azure TTS integration for significantly lower end-to-end latency, resulting in faster voice generation and snappier response times for live calls. ## Smallest.ai Lightning-v2 TTS Support * Added support for Smallest.ai's latest `lightning-v2` TTS model for Bolna AI voice agents. **27th May, 2025** ## Extended Call Duration Limit * Extended maximum call duration to 40 minutes, allowing for longer interviews or conversations without interruption. **24th May, 2025** ## Azure OpenAI Model Updates * Added support for the following Azure OpenAI clusters: 1. `gpt-4.1` Azure OpenAI 2. `gpt-4.1-mini` Azure OpenAI 3. `gpt-4.1-nano` Azure OpenAI 4. `gpt-4o` Azure OpenAI 5. `gpt-4o-mini` Azure OpenAI 6. `gpt-4` Azure OpenAI ![Azure OpenAI model selection interface in Bolna showing available GPT models for Voice AI agent configuration](https://mintcdn.com/bolna-54a2d4fe/mJ1zPF3eB4Dyupzj/images/changelog/24_may_2025_azure_openai_model_clusters.png?fit=max\&auto=format\&n=mJ1zPF3eB4Dyupzj\&q=85\&s=c15943c59406996ac9d6c3a013881ca8) Azure OpenAI model clusters **23rd May, 2025** ## ElevenLabs Multi-Context WebSocket Integration * Updated ElevenLabs to use [`Multi-Context WebSocket`](https://elevenlabs.io/docs/cookbooks/multi-context-web-socket) for improved latency and fluency. * The Multi-Context WebSocket greatly improves websocket handling, closures, and session contexts. **22nd May, 2025** ## Multilingual Support Expansion * Bolna now supports over 100+ different languages including English (India), English (United States), English (United Kingdom), and many more.