---
title: "Create Public Demo Voice Session Endpoint"
method: POST
path: "/api/public/demo-agents/{demo_key}/voice-session"
tags: ["public-demo"]
---

# Create Public Demo Voice Session Endpoint

`POST /api/public/demo-agents/{demo_key}/voice-session`

## Request

- Base URL: `https://api.outcallerai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.outcallerai.com/api/public/demo-agents/{demo_key}/voice-session`
- Auth: none declared

Start a public demo. No account, workspace id, or API key is accepted.

## Path parameters

- `demo_key` string, required

## Request body

- PublicDemoVoiceSessionRequest: No client fields are accepted. The path key selects the demo.

## Response `200`

Successful Response

- PublicDemoVoiceSessionResponse
  - `join_url` string, required
  - `session_id` string, required
  - `call_id` string, required
  - `provider` string, required
  - `ws_url` string, nullable
  - `agent_name` string, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-28** `40736cf433b4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/outcallerai/apis/fastapi/changes/api/public/demo-agents/:demo_key/voice-session/post.md)

---

[API](https://skmtc.dev/outcallerai/apis/fastapi.md) - [All operations](https://skmtc.dev/outcallerai/apis/fastapi/llms.txt) - [OpenAPI document](https://skmtc.dev/outcallerai/apis/fastapi/revisions/40736cf433b4?raw)
