Skip to content

LivekitTokenResponse

Response containing a LiveKit access token, server URL, and the generated room name.

Example Usage

typescript
import { LivekitTokenResponse } from "@meetkai/mka1/models/components";

let value: LivekitTokenResponse = {
  token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  url: "wss://apigw.mka1.com/api/v1/livekit",
  roomName: "550e8400-e29b-41d4-a716-446655440000",
};

Fields

FieldTypeRequiredDescription
tokenstring✔️JWT access token for authenticating with the LiveKit room
urlstring✔️LiveKit server WebSocket URL to connect to (e.g., wss://apigw.mka1.com/api/v1/livekit)
roomNamestring✔️Auto-generated UUID room name assigned to this session