Stream AllTrails data. No AllTrails API needed.
AllTrails writes each completed hike and trail to Apple Health and Health Connect — and Sahha’s SDK reads them into your app as normalized workouts, distance, and calories, alongside every other source.
- On-device
- Apple Health + Health Connect
- HIPAA
- GDPR
- SOC 2
Free for 30 days · No credit card
- Distance
- 9.6 km
- Active energy
- 742 kcal
- Duration
- 2:14 h
Identical schema across 500+ sources
Your users connect AllTrails. Sahha does the rest.
This is your user’s side of the story — one screen, once. Sahha ingests every AllTrails 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
AllTrails data is read on the user’s own device, only after they grant Apple Health or Health Connect permission — nothing syncs without consent.
One integration, every source
Permission is per data type, not per brand. Anything that writes to Apple Health or Health Connect — AllTrails today, a new watch next year — flows through the same SDK with no extra prompt and no new code.
What AllTrails syncs through Apple Health & Health Connect.
Request only what you need
You choose exactly which of these signals to request from Apple Health / Health Connect — users are only ever prompted for those, which keeps opt-in rates high.
One schema, every source
AllTrails, Apple Watch, and Oura all return the same fields and units.
What crosses the bridge
Workouts, distance, and calories pass through the platform; some device-exclusive metrics may not.
Activity & exercise
3

HealthKit / Health ConnectSahha- workoutActivityTypeexercise_session_*min
- distanceWalkingRunningdistance_walkingm
- activeEnergyBurnedactive_energy_burnedkcal
See a real payload
{
"type": "HKWorkoutTypeIdentifier",
"workoutActivityType": "HKWorkoutActivityTypeHiking",
"duration": 8040,
"totalDistance": { "value": 9.6, "unit": "km" },
"totalEnergyBurned": { "value": 742, "unit": "kcal" },
"sourceRevision": { "source": { "name": "AllTrails" } }
} [
{
"category": "activity",
"type": "exercise_session_hiking",
"value": 134,
"unit": "minute",
"periodicity": "session",
"aggregation": "total",
"startDateTime": "2026-06-02T08:00:00Z",
"endDateTime": "2026-06-02T10:14:00Z"
},
{
"category": "activity",
"type": "distance_walking",
"value": 9600,
"unit": "meter",
"periodicity": "session",
"aggregation": "total",
"startDateTime": "2026-06-02T08:00:00Z",
"endDateTime": "2026-06-02T10:14:00Z"
}
// …1 more normalized log
] AllTrails writes completed hikes and trails — type, distance, and calories — one-way to Apple Health and Health Connect. Heart rate is read-only in AllTrails, so it comes from any other source a user connects.
Missing a metric you need? Talk to us in the Sahha Slack — if AllTrails 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 and Health Connect yourself? Here’s the to-do list.
Everything on the left is yours to write, test, and maintain across two platforms. Everything on the right, Sahha already did.
- Integrate Apple Health.
- Then Health Connect, separately.
- Then reconcile the two.
One SDK covers Apple Health, Health Connect, and every cloud source.
- Write the HealthKit queries.
- Write the Health Connect queries.
- Wire up background delivery.
The SDK handles queries, permissions, and background sync.
- Dedupe apps writing the same metric.
- Map dozens of platform types.
- Normalize iOS against Android.
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 or Google changes an API.
- You find out in production.
We version the SDK. You never notice.
No AllTrails developer account needed — Sahha reads what AllTrails already writes to Apple Health and Health Connect.
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 or Android app — or React Native or Flutter. One dependency covers both Apple Health and Health Connect.
- 02
Prompt for health permissions
Call the SDK to show the native Apple Health or 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 AllTrails data from Apple Health / Health Connect in the background, normalizes it to one schema, and streams it to your app by webhook or API.
Most teams read live AllTrails data the same day they add the SDK. The only per-source prerequisite: your user has AllTrails’s Apple Health / Health Connect sync switched on — most source apps enable it by default.
AllTrails integration questions
How does Sahha get AllTrails data?
AllTrails writes your completed activities to Apple Health and Health Connect, and Sahha reads them from there with its mobile SDK — so you get AllTrails hikes without integrating the AllTrails API directly.
Which AllTrails metrics does Sahha provide?
Workout type and duration, distance, and active energy (calories) — normalized to Sahha’s schema and folded into the Activity score and archetypes. AllTrails shares activity one-way and doesn’t write sleep or body metrics.
Do I need a mobile app to use the AllTrails integration?
Yes. Because AllTrails data lands in Apple Health / 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 AllTrails do.
Does it work on both iOS and Android?
Yes. The same Sahha SDK reads Apple Health on iOS and Health Connect on Android, and normalizes both to one schema.
Is the AllTrails integration HIPAA and GDPR compliant?
Yes. Sahha is HIPAA and GDPR compliant and SOC 2 certified, and AllTrails 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 AllTrails data today.
Connect once. Sahha handles consent, normalization, and real-time delivery — for AllTrails and every other source.
Free for 30 days · No credit card
- One API for AllTrails 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



