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

    Interface WebhookResponse

    Response body returned to the Voice platform from a webhook endpoint.

    Contains the ordered list of SVAML commands to execute next. callName and events only take effect in responses to call.incoming.

    interface WebhookResponse {
        callName?: string;
        commands: SvamlCommand[];
        events?: WebhookResponseEvents;
    }
    Index

    Properties

    callName?: string

    Name of the call.

    Note: This property only takes effect in responses to webhooks triggered by an incoming call. In responses to other webhook types, it is ignored.

    commands: SvamlCommand[]

    The ordered list of SVAML commands to execute. An empty array takes no action.

    WebhookResponseEvents