API Documentation
Current APIs
- Agent
- Making phone calls
- Executions & calls data
- Phone numbers
- Inbound Agents
- Batches
- Knowledgebases
- Providers
- User
Legacy APIs (deprecated)
Create Voice AI Agent API (deprecated)
Learn how to create new agents with Bolna APIs, enabling customized tasks, prompts, and configurations for Bolna voice AI agents.
These APIs have now been deprecated.
Please use the latest v2 APIs.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Configuration of the agent
The name of the agent
An array of tasks that the agent can perform
Should be used onkly in conversation task for now and it consists of all the required configuration for conversational nuances
Toggle to add ambient noise to the call to add more naturalism
Track for ambient noise can be coffee-shop, call-center, office-ambience
office-ambience
, coffee-shop
, call-center
This will enable agent to acknowledge when user is speaking long sentences
Gap between every successive acknowledgement. We will also add a random jitter to this value to make it more random
Basic delay after which we should start with backchanneling
The call automatically disconnects reaching this limit
Weather to use LLM prompt to hang up or not. Pretty soon this will be replaced by predefined function
Time to wait in seconds before hanging up in case user doesn't speak a thing
Since we work with interim results, this will dictate the linear delay to add before speaking everytime we get a partial transcript from ASR
To avoid accidental interruption, how many words should we wait for before interrupting
Type of task
conversation
, extraction
, summarization
, webhook
Configuration of multiple tools that form a task
Api tools you'd like the agents to have access to
Description of all the tools you'd like to add to the agent. It needs to be a JSON string as this will be passed to LLM.
Parameters for each tool, where keys must match the name
field in the tools
array.
Configuration of LLM model for the agent task
streaming
, preprocessed
Semantic routing layer
Configuration of Synthesizer model for the agent task
polly
, elevenlabs
, deepgram
, styletts
wav
Configuration of Transcriber model for the agent task
en
, hi
, es
, fr
nova-2
, nova-2-meeting
, nova-2-phonecall
, nova-2-finance
, nova-2-conversationalai
, nova-2-medical
, nova-2-drivethru
, nova-2-automotive
Identification provider for Deepgram
deepgram
linear16
Agent type
Initial welcome message by agent
Webhook URL to receive data for all conversations as get_execution API