---
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

---

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