> ## Documentation Index
> Fetch the complete documentation index at: https://help.apnealytics.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Accounts & privacy

> Signing in with a magic link or password, syncing Apple Health / Health Connect vitals, exporting your data, deleting your account, and how Apnealytics keeps your health data private.

Apnealytics stores health data, and it's built to keep that data private to you.
This page covers how accounts work and the privacy posture behind them.

## Signing in

Every account can sign in more than one way — they all reach the same account:

> [card] Magic link
>
> Enter your email and we send a one-time sign-in link. Always available — no
> password required.

> [card] Email & password
>
> Set a password and sign in with it directly. You can add or reset a password
> at any time from **Account → Security**.

> [!NOTE]
>
> Depending on how your instance is configured, a Google sign-in option may also be
> available. You manage all of your connected sign-in methods under
> **Account → Security**.

## Syncing Apple Health & Health Connect

The companion mobile app can bring in overnight **vitals** — blood oxygen (SpO₂),
resting heart rate, heart-rate variability, sleep, and weight — from **Apple
Health** (iOS) or **Health Connect** (Android). This pairs your body's response
with your CPAP data on the Vitals page.

> [accordion] What syncs — daily summaries only
>
> Health reads are **read-only** and aggregated **per day on your device**. Only
> the small **daily summaries** leave your phone — never the raw, moment-by-moment
> health samples.

> [accordion] How far back — about 2 years
>
> On first connect, the app backfills roughly **2 years** (about 730 days) of
> daily summaries so your history lines up with your therapy data.

> [accordion] When it syncs — iOS vs Android
>
> On **iOS**, HealthKit can deliver updates in the background. On **Android**,
> Health Connect sync runs **when you open the app** (foreground). Either way,
> opening the app brings you up to date.

> [!NOTE]
>
> Apple Health / Health Connect sync is available on **every plan** — it isn't a
> paid feature.

## Exporting your data

Your data is yours. You can download your nightly data at any time:

* **CSV** — a tabular export of your nights (dates and numbers), ideal for a
  spreadsheet.
* **JSON** — a fuller dump including nights plus synced vitals.

## Deleting your data or account

Apnealytics gives you two separate, permanent actions under **Account**, each
guarded by a type-`DELETE` confirmation:

> [card] Delete all my data
>
> Removes every night, session, import, and raw file in storage, but **keeps**
> your account, login, and equipment. You'd need to re-upload your cards to
> restore it.

> [card] Delete my account
>
> Permanently removes your **entire account and login** — profile, equipment,
> every import and raw file — and signs you out for good. You'd have to create a
> brand-new account to use Apnealytics again.

> [!WARNING]
>
> Both actions are **permanent and cannot be undone.** If you only want to clear your
> therapy data but keep your login, use "Delete all my data" rather than deleting the
> whole account.

## How your data stays private

> [accordion] Per-account isolation
>
> Every row of your therapy data is scoped to your account at the database
> level — you can only ever read your own account's data.

> [accordion] Raw files are private
>
> The raw card files in storage are private. They're reached only through
> short-lived, signed links generated for your session, never public URLs.

> [accordion] No third-party trackers on your health data
>
> Authenticated pages that show your health data don't carry third-party
> analytics trackers.

> [accordion] Share links exclude your identity
>
> Clinician share links (a Pro feature) are read-only summaries that **never
> include your name or raw night-by-night data**, and they expire and can be
> revoked at any time.

## Free vs. Pro

Apnealytics is free to use for your recent history. **Pro** unlocks your full
history (the free plan shows the last 30 days of trends), per-night waveforms,
SpO₂ oximetry overlays, doctor-ready PDF reports, clinician share links, multiple
machines, and personal API access. You can manage or cancel a subscription any
time from **Account → Billing**.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.