Stream Sleep as Android data. Straight from the phone.
Sleep as Android writes sleep stages, heart rate, and blood oxygen to Health Connect — and Sahha’s SDK reads them into your app as normalized biomarkers and sleep scores, alongside every other source.
- On-device
- Health Connect
- Android
- HIPAA
- GDPR
Free for 30 days · No credit card
- Sleep duration
- 7:22 h
- Deep sleep
- 1:18 h
- Resting heart rate
- 56 bpm
Identical schema across 500+ sources
Your users connect Sleep as Android. Sahha does the rest.
This is your user’s side of the story — one screen, once. Sahha ingests every Sleep as Android signal, normalizes, deduplicates, and delivers it to your service — raw, or as refined intelligence your product can act on.
A Allow "your app"
On-device and permissioned
Sleep as Android data is read on the user’s own device, only after they grant Health Connect permission — nothing syncs without consent.
One integration, every source
Permission is per data type, not per brand. Anything that writes to Health Connect — Sleep as Android today, a new watch next year — flows through the same SDK with no extra prompt and no new code.
What Sleep as Android syncs through Health Connect.
Request only what you need
You choose exactly which of these signals to request from Health Connect — users are only ever prompted for those, which keeps opt-in rates high.
One schema, every source
Sleep as Android, Apple Watch, and Oura all return the same fields and units.
What crosses the bridge
Sleep stages, heart rate, and blood oxygen pass through Health Connect; some app-exclusive metrics may not.
Sleep
4
Health ConnectSahha- SleepSessionRecord · DEEPsleep_stage_deepmin
- SleepSessionRecord · LIGHTsleep_stage_lightmin
- SleepSessionRecord · REMsleep_stage_remmin
- SleepSessionRecord · AWAKEsleep_stage_awakemin
Heart & vitals
2
Health ConnectSahha- HeartRateRecordheart_ratebpm
- OxygenSaturationRecordoxygen_saturation%
See a real payload
{
"record": "SleepSessionRecord",
"stage": "STAGE_TYPE_DEEP",
"startTime": "2026-06-02T23:12:00Z",
"endTime": "2026-06-03T00:30:00Z",
"metadata": { "dataOrigin": "com.urbandroid.sleep" }
// …heart rate & SpO2 records
} [
{
"category": "sleep",
"type": "sleep_stage_deep",
"value": 78,
"unit": "minute",
"periodicity": "daily",
"aggregation": "total",
"startDateTime": "2026-06-02T23:12:00Z",
"endDateTime": "2026-06-03T06:34:00Z"
}
// …3 more normalized logs
] Sleep as Android writes sleep stages, heart rate, and blood oxygen to Health Connect. It’s an Android app, so its data lands in Health Connect — not Apple Health.
Missing a metric you need? Talk to us in the Sahha Slack — if Sleep as Android captures it, we can usually add support.
Get more than just raw data
Sahha turns these signals into biomarkers, scores, archetypes, and insights — the modeling done for you.
Reading Health Connect yourself? Here’s the to-do list.
Everything on the left is yours to write, test, and maintain on Android. Everything on the right, Sahha already did.
- Integrate Health Connect.
- Handle Android version differences.
- Add Apple Health separately for iOS.
One SDK covers Health Connect, Apple Health, and every cloud source.
- Write the Health Connect queries.
- Request the right permissions.
- Wire up background delivery.
The SDK handles queries, permissions, and background sync.
- Dedupe apps writing the same metric.
- Map dozens of Health Connect record types.
- Reconcile against your iOS sources.
Deduped, typed, one schema — one stream per user.
- Build a sleep model.
- Build an activity model.
- Hire a data scientist.
Scores, archetypes, and insights — built in.
- Google changes a Health Connect API.
- You find out in production.
We version the SDK. You never notice.
No Sleep as Android developer account needed — Sahha reads what Sleep as Android already writes to Health Connect on Android.
Live in an afternoon, not a sprint.
- # Add the Sahha SDKnpm install sahha-react-native01
Add the Sahha SDK
Drop the Sahha SDK into your Android app — or React Native or Flutter. The same SDK also covers Apple Health for your iOS sources.
- 02
Prompt for Health Connect permissions
Call the SDK to show the native Health Connect consent sheet. The user chooses what to share — under your brand. It’s one prompt, ever: permission is per data type, not per brand, so every future source is already covered.
- Your app LIVESleep7h 12mReadiness82Heart rate62 bpm03
Sahha reads and delivers
Once permission is granted, the SDK reads Sleep as Android data from Health Connect in the background, normalizes it to one schema, and streams it to your app by webhook or API.
Most teams read live Sleep as Android data the same day they add the SDK. The only per-source prerequisite: your user has Sleep as Android’s Health Connect sync switched on — most source apps enable it by default.
Sleep as Android integration questions
How does Sahha get Sleep as Android data?
Sleep as Android writes sleep stages, heart rate, and blood oxygen to Health Connect, and Sahha reads them from there with its mobile SDK — no Sleep as Android API to integrate.
Does the Sleep as Android integration work on iOS?
Sleep as Android is an Android app, so it writes to Health Connect only. The same Sahha SDK still reads Apple Health on iOS for your other sources, all normalized to one schema.
Do I need a mobile app to use the Sleep as Android integration?
Yes. Because Sleep as Android data lands in Health Connect on the user’s device, you embed the Sahha mobile SDK to read it. Cloud-only sources like Oura don’t need the SDK, but on-device sources like Sleep as Android do.
Is the Sleep as Android integration HIPAA and GDPR compliant?
Yes. Sahha is HIPAA and GDPR compliant and SOC 2 certified, and Sleep as Android data flows through the same compliant pipeline as every other source.
One API for every other source, too.
Add another wearable or app and the schema, webhooks, and scores are identical — no new pipeline to build.
Start streaming Sleep as Android data today.
Connect once. Sahha handles consent, normalization, and real-time delivery — for Sleep as Android and every other source.
Free for 30 days · No credit card
- One API for Sleep as Android and every other source
- Real-time webhooks + on-demand REST, one normalized schema
- Scores, archetypes & insights — no modeling required
- HIPAA, GDPR & SOC 2 · your brand on the consent screen



