Sinch Node.js SDK - v1.4.2
    Preparing search index...

    Class VoiceService

    The Voice Service exposes the following APIs:

    • applications
    • callouts
    • conferences
    • calls
    Index

    Constructors

    • Create a new VoiceService instance with its configuration. It needs the following parameters for authentication:

      • applicationKey
      • applicationSecret

      Other supported properties:

      • voiceRegion
      • voiceHostname
      • voiceApplicationManagementHostname

      Parameters

      Returns VoiceService

    Properties

    applications: ApplicationsApi
    callouts: CalloutsApi
    calls: CallsApi
    conferences: ConferencesApi
    lazyVoiceAppMgmtClient: LazyVoiceApplicationManagementApiClient
    lazyVoiceClient: LazyVoiceApiClient

    Methods

    • Update the default hostname for the Applications API

      Parameters

      • hostname: string

        The new hostname to use for the Applications API.

      Returns void

    • Updates the credentials used to authenticate API requests.

      Parameters

      Returns void

    • Update the default hostname for each API except Applications

      Parameters

      • hostname: string

        The new hostname to use for all the APIs except Applications.

      Returns void

    • Update the current region for each API

      Parameters

      • region: string

        The new region to use in the production URL

      Returns void