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

    Variable getPatientStateQuerySchemaConst

    getPatientStateQuerySchema: ZodObject<
        {
            patientId: ZodOptional<ZodString>;
            externalPatientId: ZodOptional<ZodString>;
        },
        $strict,
    > = ...

    Query of GET /v1/patients/state — everything a patient-facing screen needs, in ONE call.

    Built for exactly the integration this API is meant to make easy: an app opens, and needs to know whether to show the agent chat, a consult waiting for consent, a queued thread, a live video room, or a rating prompt. Rather than fanning out across three list endpoints and diffing, ask for the patient's current state and render it.