hostname including protocol. i.e. 'https://
OptionalapiKey: string
API Key, can be set in env var LIVEKIT_API_KEY
Optionalsecret: string
API Secret, can be set in env var LIVEKIT_API_SECRET
Optionaloptions: ClientOptions
client options
Accept an inbound WhatsApp call
WhatsApp call accept options
Promise containing the room name
Optionalsip: SIPGrantConnect a Twilio call to a LiveKit room
Twilio call connection options
Promise containing the WebSocket connect URL for Twilio media stream
Connect an established WhatsApp call (used for business-initiated calls)
Call ID sent by Meta
Session description from Meta
Initiate an outbound WhatsApp call
WhatsApp call options
Promise containing the WhatsApp call ID and room name
Disconnect an active WhatsApp call
Call ID sent by Meta
The API key of the business that is disconnecting the call.
Required when disconnectReason is BUSINESS_INITIATED, optional for USER_INITIATED.
OptionaldisconnectReason: DisconnectWhatsAppCallRequest_DisconnectReason
Optional reason for disconnecting the call. Defaults to BUSINESS_INITIATED.
Client to access Connector APIs for WhatsApp and Twilio integrations