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

    Interface CallPatchRequest

    Request body for patching an ongoing call with SVAML commands.

    interface CallPatchRequest {
        commands: SvamlCommand[];
    }
    Index

    Properties

    Properties

    commands: SvamlCommand[]

    An ordered list of SVAML v2 (Sinch Voice Application Markup Language) commands that describe a call flow. Commands are executed sequentially in the order they are defined. Blocking vs. non-blocking: Some commands block execution until they complete (pause, webhook, menu, gotoMenu), while others return immediately and run in parallel (dial, messages, amd, answer, hangup, startRecording, stopRecording, bridgeCall, stopMessages). Each command's description specifies its behavior. Nesting scope: Commands that appear inside event handlers (e.g., dial.events.onAnswer, messages.events.onFinish) form independent sequences and execute in their own context — they are not continuations of the parent sequence.