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

    Variable physicianHeartbeatSchemaConst

    physicianHeartbeatSchema: ZodObject<{}, $strict> = ...

    Body of POST /v1/physicians/{id}/heartbeat — keep a ready physician on the rota. An empty object (or omit it). Self-only.

    Presence expires 45 seconds after the last beat; call this every 15 seconds while the physician is ready and your page is open, and STOP when they close it — a physician nobody is watching for must fall off the rota, or patients are rung for a clinician who never answers. A heartbeat on a physician who is not ready records lastSeenAt and changes nothing else (it does not revive a lapsed ready; post presence again for that). While ready, a beat also retries the match, so activeConsult may appear here.