Stream Sleepzy data. Straight from the phone.
Sleepzy is a phone-based sleep tracker and smart alarm that writes the night — duration, start and end time, and accumulated sleep debt — to Apple Health, and Sahha’s SDK reads it into your app as normalized sleep biomarkers, alongside every other source.
- On-device
- Apple Health
- iOS
- HIPAA
- GDPR
Free for 30 days · No credit card
- Sleep duration
- 6:54 h
- Sleep debt
- 78 min
- Wake time
- 07:02
Identical schema across 500+ sources
Your users connect Sleepzy. Sahha does the rest.
This is your user’s side of the story — one screen, once. Sahha ingests every Sleepzy 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
Sleepzy data is read on the user’s own device, only after they grant Apple Health permission — nothing syncs without consent.
One integration, every source
Permission is per data type, not per brand. Anything that writes to Apple Health — Sleepzy today, a new watch next year — flows through the same SDK with no extra prompt and no new code.
What Sleepzy syncs through Apple Health.
Request only what you need
You choose exactly which of these signals to request from Apple Health — users are only ever prompted for those, which keeps opt-in rates high.
One schema, every source
Sleepzy, Apple Watch, and Oura all return the same fields and units.
What crosses the bridge
The sleep session — duration, start and end time — and sleep debt pass through Apple Health; some app-exclusive metrics may not.
Sleep
4
HealthKitSahha- sleepAnalysis · asleepsleep_durationmin
- sleepAnalysis · startDatesleep_start_time
- sleepAnalysis · endDatesleep_end_time
- sleepAnalysis · derivedsleep_debtmin
See a real payload
{
"type": "HKCategoryTypeIdentifierSleepAnalysis",
"value": "HKCategoryValueSleepAnalysisAsleepUnspecified",
"startDate": "2026-06-03T00:08:00Z",
"endDate": "2026-06-03T07:02:00Z",
"sourceRevision": { "source": { "name": "Sleepzy" } }
} [
{
"category": "sleep",
"type": "sleep_duration",
"value": 414,
"unit": "minute",
"periodicity": "daily",
"aggregation": "total",
"startDateTime": "2026-06-03T00:08:00Z",
"endDateTime": "2026-06-03T07:02:00Z"
},
{
"category": "sleep",
"type": "sleep_debt",
"value": 78,
"unit": "minute",
"periodicity": "daily",
"aggregation": "total",
"startDateTime": "2026-06-03T00:08:00Z",
"endDateTime": "2026-06-03T07:02:00Z"
}
// …2 more normalized logs
] Sleepzy is phone-only — no watch or band required — which makes it a source for users with no wearable at all. It also surfaces sleep debt, a derived metric most trackers keep to themselves. Two limits worth stating: phone-based sleep detection is motion-and-microphone inference, so it is less precise than a wearable’s, and Apple Health has no sleep-debt record type, so Sahha derives the sleep_debt biomarker from the sessions that cross rather than reading Sleepzy’s own figure. Sleepzy’s snore recordings and audio stay in the app — Sahha has no biomarker for them. Where the user also wears a device writing sleep to Apple Health, Sahha deduplicates the overlapping sessions.
Missing a metric you need? Talk to us in the Sahha Slack — if Sleepzy 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 Apple Health yourself? Here’s the to-do list.
Everything on the left is yours to write, test, and maintain on iOS. Everything on the right, Sahha already did.
- Integrate Apple Health.
- Handle iOS version differences.
- Add Health Connect separately for Android.
One SDK covers Apple Health, Health Connect, and every cloud source.
- Write the HealthKit 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 HealthKit types.
- Reconcile against your Android 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.
- Apple changes a HealthKit API.
- You find out in production.
We version the SDK. You never notice.
No Sleepzy developer account needed — Sahha reads what Sleepzy already writes to Apple Health on iOS.
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 iOS app — or React Native or Flutter. The same SDK also covers Health Connect for your Android sources.
- 02
Prompt for Apple Health permissions
Call the SDK to show the native Apple Health 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 Sleepzy data from Apple Health in the background, normalizes it to one schema, and streams it to your app by webhook or API.
Most teams read live Sleepzy data the same day they add the SDK. The only per-source prerequisite: your user has Sleepzy’s Apple Health sync switched on — most source apps enable it by default.
Sleepzy integration questions
How does Sahha get Sleepzy data?
Sleepzy writes each tracked night to Apple Health, and Sahha reads it from there with its mobile SDK, delivering it as normalized sleep biomarkers — no Sleepzy API to integrate.
Does Sleepzy need a wearable?
No. Sleepzy tracks with the phone alone, which is what makes it useful to you: it reaches the part of your user base that owns no watch, ring, or band, and would otherwise contribute no sleep data at all.
What Sleepzy data does Sahha receive?
The sleep session — duration, start time, and end time — and sleep debt. Phone-based sleep detection is motion-and-microphone inference, so it is less precise than a wearable’s, and Apple Health has no sleep-debt record type, so Sahha derives sleep_debt from the sessions that cross. Sleepzy’s snore recordings and audio stay in the app; Sahha has no biomarker for them. Where the user also wears a device writing sleep to Apple Health, Sahha deduplicates the overlapping sessions.
Does the Sleepzy integration work on Android?
No. This is an Apple-Health-only integration, so the Sleepzy path here is iOS-only. Your users’ other Android sources still flow through the same Sahha SDK.
Is the Sleepzy integration HIPAA and GDPR compliant?
Yes. Sahha is HIPAA and GDPR compliant and SOC 2 certified, and Sleepzy 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 Sleepzy data today.
Connect once. Sahha handles consent, normalization, and real-time delivery — for Sleepzy and every other source.
Free for 30 days · No credit card
- One API for Sleepzy 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



