v53

latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-08-039357238.7 KB
Rooms

Attach a VAPI agent to a room

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

post/rooms/{id}/agent/vapi

Request body

assistant_idstring required

VAPI assistant ID

first_messagestring

Override the agent's first message

variable_valuesobject

Key-value pairs passed as VAPI variable values (assistantOverrides.variableValues)

api_keystring

API key override (falls back to VAPI_API_KEY env var)

Response

Agent started

instance_idstring

Instance identifier

statusstring required