LiveKit JS Server SDK - v2.17.0
    Preparing search index...

    Class ConnectorClient

    Client to access Connector APIs for WhatsApp and Twilio integrations

    Hierarchy

    • ServiceBase
      • ConnectorClient
    Index

    Constructors

    Methods

    • Connect an established WhatsApp call (used for business-initiated calls)

      Parameters

      • whatsappCallId: string

        Call ID sent by Meta

      • sdp: SessionDescription

        Session description from Meta

      Returns Promise<ConnectWhatsAppCallResponse>

    • Disconnect an active WhatsApp call

      Parameters

      • whatsappCallId: string

        Call ID sent by Meta

      • whatsappApiKey: string

        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.

      Returns Promise<DisconnectWhatsAppCallResponse>