---
title: "Attach a Pipecat bot to a room"
method: POST
path: "/rooms/{id}/agent/pipecat"
tags: ["Rooms"]
---

# Attach a Pipecat bot to a room

`POST /rooms/{id}/agent/pipecat`

The bot joins as a virtual participant via WebSocket, hearing all participants (mixed-minus-self) and speaking to everyone.

## Request body

- PipecatAgentRequest
  - `websocket_url` string, uri, required — WebSocket URL of the Pipecat bot (e.g. ws://my-bot:8765)

## Response `200`

Agent started

- StatusResponse
  - `instance_id` string — Instance identifier
  - `status` string, required

## Other responses

- `400` — Invalid JSON or missing websocket_url
- `404` — Room not found
- `409` — Agent already attached to this room

## Changes

- **2026-03-26** `7856459e2b72` — 1 info
  - endpoint added
- **2026-03-26** `d09c97c6ca8c` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/voiceblender/apis/voiceblender-api/changes/rooms/:id/agent/pipecat/post.md)

---

[API](https://skmtc.dev/voiceblender/apis/voiceblender-api.md) · [All operations](https://skmtc.dev/voiceblender/apis/voiceblender-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/voiceblender/voiceblender-api/revisions/89ff267f0958/schema)
