Android · SleepHQ™ Cloud Sync

Your Therapy Data.
In SleepHQ. Automatically.

Sign into SleepHQ once inside NiteBridge. After that, every device sync uploads your CPAP sessions, SpO₂ data, and sleep metrics to your SleepHQ account — no manual file management, no zipping, no browser uploads.

Get Early Access ← All Bridges

How It Works

One login. Automatic uploads every night after that.

1

Sign In

Enter your SleepHQ email and password directly in NiteBridge. SleepHQ Bridge authenticates securely via OAuth 2.0 and stores your credentials in Android's encrypted preferences.

2

Select Your Team

If you belong to multiple SleepHQ care teams, NiteBridge lets you pick which team receives your data — or switch teams at any time without re-authenticating.

3

Sync Your Devices

Connect your CPAP, SpO₂ ring, or other NiteBridge devices. SleepHQ Bridge automatically uploads each session to your account as data comes in — no extra steps on your part.

4

Review with Your Team

Your sleep data is available in SleepHQ immediately — visible to you and any care team members you've authorised. Share overnight results with your sleep physician or respiratory therapist without sending a single file.

Built for SleepHQ Users

Everything SleepHQ needs, delivered automatically after every sync.

🔑

Secure OAuth 2.0 Authentication

SleepHQ Bridge uses SleepHQ's official OAuth flow — your password is used once to generate a secure token, which is then stored encrypted on your device. Tokens are automatically refreshed before expiry.

☁️

Automatic Uploads

Once authenticated, uploads happen without any prompts. After each device sync, SleepHQ Bridge sends your session data to SleepHQ in the background — so your account is always up to date by the time you open a browser.

👥

Multi-Team Support

Belong to more than one SleepHQ care team? Switch between them from within NiteBridge. Each team sees only the data routed to them — useful if you're under the care of multiple providers.

💍

SpO₂ & Ring Data

Overnight SpO₂ sessions from your Viatom ring upload automatically alongside CPAP data. Your care team can see your oxygen trace and desaturation events in the same SleepHQ view as your therapy data.

🔒

Encrypted Credential Storage

Access tokens, refresh tokens, and expiry times are stored in Android's EncryptedSharedPreferences — not in plain text, not in the cloud, not accessible to other apps. Your SleepHQ credentials stay on your device.

🔁

Incremental Uploads

Only sessions that haven't previously been uploaded are sent. Re-syncing the same device never creates duplicate data in your SleepHQ account — each session appears exactly once.

How Authentication Works

Secure by default — your password never leaves your device after the first login.

1

Initial Login

You enter your SleepHQ email and password in NiteBridge. These are sent once via HTTPS to the SleepHQ API, which returns a client ID and secret.

2

OAuth Token Exchange

NiteBridge exchanges the client credentials for an OAuth 2.0 access token and a refresh token. Your password is not stored anywhere after this point.

3

Encrypted Storage

The access token, refresh token, and expiration time are saved in Android's EncryptedSharedPreferences — hardware-backed encryption on supported devices.

4

Automatic Token Refresh

Before each upload, NiteBridge checks the token expiry. If it's close to expiring, it refreshes automatically — so sessions are never interrupted by an expired login.

5

Authenticated Uploads

All API requests carry a Bearer token in the Authorization header. No data is ever sent without a valid, fresh token — every upload is authenticated end-to-end.

Requirements

What you need to get started.

Your Data in SleepHQ. Every Morning.

SleepHQ Bridge is part of the NiteBridge app for Android. Contact us to get started.

Contact Us