Voice Agents
Create a voice agent
Create a voice agent with its prompt. Optionally set prompt, voice and
knowledge-base values in the same request; they are validated exactly as in the settings
endpoints and the whole request fails if any value is rejected. Add tools afterwards with
POST /api/v2/tools using the returned id as agent_id.
POST
Create a voice agent
Autorisierungen
Body
application/json
Flat JSON object. Unknown top-level keys are ignored. The nested sections are validated exactly as
in the settings endpoints; if any value is rejected, nothing is created (HTTP 422). A tools key
is rejected: create and enable tools with the Tools endpoints after the agent exists.
Antwort
The created voice agent.