Appzi Typings
    Preparing search index...

    Type Alias Appzi

    Appzi: OrchestratorPublicObsoleteApi & { openSurvey: (id: string) => void }

    Programmatic API for controlling Appzi surveys. Available via window.appzi after the widget loads, or in the ready callback.

    Type Declaration

    • openSurvey: (id: string) => void

      Open a survey by its configuration ID. The survey displays according to its configured settings (modal, slide-in, etc.).

    // Open a survey programmatically
    window.appzi.openSurvey('survey-abc123');
    // Via the ready callback
    window.appziSettings = {
    ready: (appzi) => {
    document.getElementById('feedback-btn').onclick = () => {
    appzi.openSurvey('survey-abc123');
    };
    }
    };