API Reference

Initiate a WebRTC Call

Creates a LiveKit room, dispatches an AI agent, and returns connection credentials for your client SDK.

Endpoint

assistant_uuid
string
required
UUID of the assistant to connect to

Authentication

Requires a Bearer token in the Authorization header. Use an API key from Developer → API Keys or a session JWT.

Response

Pass token and livekit_url directly to any LiveKit client SDK:

Workflow variant

mode
string
required
Either "draft" (current unpublished state) or "published" (latest published version)
Same response shape as the assistant endpoint.

Example

End a WebRTC Call

Endpoint

Example

Errors

Next steps

Web Quickstart

Step-by-step web integration tutorial

Mobile & Native

iOS, Android, Flutter, and React Native