v3

latestOpenAPI 3.1.02026-07-31112356215.0 KB
agents

Create agent

Create a new voice agent

post/agents

Headers

Authorizationstring required

Request body

namestring required
voice_uuidstring required
phone_number_idinteger
languagesstring[]
dynamic_variablesobject
search_mode'speed' | 'accuracy'

RAG search strategy - speed (faster) or accuracy (more thorough)

max_chunks_per_queryinteger

Number of relevant chunks to retrieve per query for RAG

webhooksAgentsPostRequestBodyContentApplicationJsonSchemaWebhooksItems[]
system_toolsAgentsPostRequestBodyContentApplicationJsonSchemaSystemTools

Response

Agent created successfully

successboolean
itemAgentsPostResponsesContentApplicationJsonSchemaItem
messagestring