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

    Class CallsApi

    Index

    Methods

    • Get information about a call You can retrieve information about an ongoing or completed call using a call ID. You can find the call ID of an ongoing call by viewing the response object from a callout request. You can find the call ID of a completed call by looking at your call logs in your Sinch Dashboard. Note: You can only use this method for calls that terminate to PSTN or SIP networks from an In-app call.

      Parameters

      Returns Promise<GetCallInformation>

    • Manage Call with `callLeg` This method is used to manage ongoing, connected calls. This method is only used when using the `PlayFiles` and `Say` instructions in the request body. This method uses SVAML in the request body to perform various tasks related to the call. For more information about SVAML, see the Callback API documentation. Note: You can only use this method for calls that originate from or terminate to PSTN or SIP networks.

      Parameters

      Returns Promise<void>

    • Update a call in progress This method is used to manage ongoing, connected calls. This method uses SVAML in the request body to perform various tasks related to the call. For more information about SVAML, see the Callback API documentation. This method can only be used for calls that originate from or terminate to PSTN or SIP networks.

      Parameters

      Returns Promise<void>