Skip to main content
A voice agent is a tenant-scoped routing alias that tells Yotel where to send audio when a call is answered. It maps a name to a WebSocket URL, authentication config, audio format, and concurrency limits.
Voice agents define routing, not behavior. Your AI service receives the audio stream and decides what to do. See the Voice agents quickstart for the integration flow.

Create a voice agent

Scope: voice_agents:write  |  Status: 201 Created

Request body

Default audio format


List voice agents

Scope: voice_agents:read  |  Status: 200 OK Optional query parameter: status — filter by "active", "paused", or "archived".

Response


Get a voice agent

Scope: voice_agents:read  |  Status: 200 OK

Update a voice agent

PATCH semantics — only include fields you want to change. Null or absent fields are not modified.
Scope: voice_agents:write  |  Status: 200 OK

Archive a voice agent

Soft-deletes the voice agent by setting status: "archived". The UUID remains valid for foreign-key references (existing calls, campaigns) but new calls will not route to an archived agent.
Scope: voice_agents:write  |  Status: 200 OK

Delete a voice agent

Hard-deletes the voice agent. Fails with 409 if the agent has active sessions.
Scope: voice_agents:write  |  Status: 204 No Content

Response fields


Errors