---
title: "Create Widget Voice Webrtc Session"
method: POST
path: "/teams/{team_id}/bots/{bot_id}/voice"
---

# Create Widget Voice Webrtc Session

`POST /teams/{team_id}/bots/{bot_id}/voice`

## Request

- Base URL: `https://api.docsbot.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.docsbot.ai/teams/{team_id}/bots/{bot_id}/voice`
- Auth: none declared

Exchange a browser SDP offer for a DocsBot-controlled Realtime answer.

## Path parameters

- `team_id` string, required
- `bot_id` string, required

## Query parameters

- `conversation_id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/docsbot/apis/docsbot-chat-api.md) · [All operations](https://skmtc.dev/docsbot/apis/docsbot-chat-api/llms.txt) · [OpenAPI document](https://skmtc.dev/docsbot/apis/docsbot-chat-api/revisions/336b782b49d5?raw)
