---
title: "Provision a voice agent and return a WebRTC token"
method: POST
path: "/api/v1/assistant/voice/agent"
tags: ["assistant"]
---

# Provision a voice agent and return a WebRTC token

`POST /api/v1/assistant/voice/agent`

## Request body

- VoiceAgentRequestDTO
  - `conversationId` string, required — Chat id the voice session belongs to (tagged on the agent)
  - `isDemo` boolean — Demo mode provisions an agent with no connected tools

## Response `201`

- VoiceAgentResponseDTO
  - `agentId` string, required — The provisioned ElevenLabs agent id
  - `conversationToken` string, required — WebRTC token the client uses to join the ElevenLabs session

---

[API](https://skmtc.net/wejam/apis/jam.md) · [All operations](https://skmtc.net/wejam/apis/jam/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wejam/jam/revisions/bd5a5f406bca/schema)
