Bots
Create Bot
Create a new bot with specified configuration.
post/v1/bots
Request body
namestring required
Name of the bot (max 255 characters)
promptstring required
System prompt for the bot
first_messagestring
Initial message the bot will send
knowledge_base_idinteger
ID of the knowledge base to use
voice_provider'OpenAI' | 'ElevenLabs' | 'Deepgram'
Voice synthesis provider
voicestring
Voice ID or name
voice_modelstring
Voice model to use
voice_speednumber
Speech speed multiplier
llm_model_namestring
Large language model to use
llm_model_temperaturenumber
Temperature setting for the LLM
stt_provider'Deepgram'
Speech-to-text provider
stt_modelstring
Speech-to-text model
Response
Bot created successfully
idstring required
Unique identifier of the bot
namestring required
Name of the bot
promptstring required
System prompt for the bot
first_messagestring
Initial message the bot will send
knowledge_base_idinteger
ID of the knowledge base
voice_provider'OpenAI' | 'ElevenLabs' | 'Deepgram'
Voice synthesis provider
voicestring
Voice ID or name
voice_modelstring
Voice model being used
voice_speednumber
Speech speed multiplier
llm_model_namestring
Large language model being used
llm_model_temperaturenumber
Temperature setting for the LLM
stt_provider'Deepgram'
Speech-to-text provider
stt_modelstring
Speech-to-text model
created_atstring date-time required
Bot creation timestamp
updated_atstring date-time required
Bot last update timestamp