Natzar Partner API Reference - v1.0.0
    Preparing search index...

    Interface NatzarEmbedElementApi

    Imperative API of both embed elements (beyond standard DOM methods).

    interface NatzarEmbedElementApi {
        refresh(sessionToken: string): void;
    }
    Index
    • Swap in a freshly minted session token without tearing down the widget — the intended reaction to the natzar:expired event. In-flight calls and (for telehealth) a live video call continue uninterrupted.

      Parameters

      • sessionToken: string

        A fresh token from the /embed-session endpoint.

      Returns void