How do I export Samsung Health data to my own server?

Switch on Samsung Health's sync with Health Connect, then let Life Dashboard for Android, an open-source app, post the data to a URL you choose as JSON. Every sync sends the new Samsung Health and Galaxy Watch records to your database, n8n flow or script, and a backfill sends everything that's in Health Connect.

Galaxy WatchSamsung HealthHealth ConnectLife Dashboard appYour server

By Owen Vogelaar, who maintains Life Dashboard 5 min read

Get it on Google Play

€4.99 once on Google Play, no subscription.

Get the Android app

Why it goes through Health Connect

Samsung Health has no cloud API you can connect to, and Samsung's own data SDK is open only to registered partners. Samsung Health does sync with Health Connect on the phone, in both directions. Health Connect has no web API either, so an app on the phone reads it and sends it on. More on that in a web API for Health Connect or Apple Health.

What you need

  • An Android phone with Android 9 or newer, Health Connect and Samsung Health. Pair your Galaxy Watch with Samsung Health for its data.
  • Life Dashboard for Android. It's on Google Play for €4.99 once (US$4.99), no subscription: the easy way, with automatic updates, and buying it supports development. The free routes install the same app with the same signing key: the signed APK from GitHub, Obtainium, which keeps that APK up to date, and F‑Droid, which builds it from the source.
  • A server that accepts a JSON POST over HTTPS, with a body limit of at least 10 MB. Plain HTTP on your own network needs Allow plain HTTP webhooks under More > Advanced.

Send Samsung Health to a webhook

  1. In Samsung Health, go to Settings > Health Connect, tap Get started, choose the data and tap Allow. Reading and writing are granted separately.
  2. In the Life Dashboard app, on the Health tab, tap Add destination (with nothing set up yet, Use your own server), enter your URL under Webhook URL and tap Add webhook.
  3. Under HMAC signing secret (optional), tap Generate and put the same value on your server.
  4. Tap Save at the top, open the address's row on the tab again and tap Send test.
  5. Tap Grant and allow your data types and reading in the background. Switch on the types you want under What to send.
  6. Keep Android from stopping the syncs: Settings > Apps > Life Dashboard > Battery, set to Unrestricted, and add Life Dashboard to Never sleeping apps under Settings > Battery > Background usage limits.
  7. Tap Sync Now. For older data, tap Send history under What to send and pick how far back, from 30 days up to All history.
A webhook destination in the Android app, with its HMAC signing secret and headers

What you get

From Samsung's list of what it syncs with Health Connect, these are the types the app passes on:

AreaTypes
ActivitySteps, exercise sessions, total calories and distance from exercise, VO2 max from exercise
SleepSleep sessions with stages
Heart and bloodHeart rate, blood pressure, blood glucose, oxygen saturation
BodyWeight, body fat, height, basal metabolic rate
FoodNutrition

Each request is a POST with one JSON object. Shortened, and without the uuid and source every record carries:

{
  "timestamp": "2026-10-04T07:15:02.481Z",
  "app_version": "1.23.0",
  "source": "health_connect",
  "sequence": 1842,
  "daily_totals": [
    { "date": "2026-10-04", "steps": 1204, "distance_meters": 911.6 }
  ],
  "sleep": [
    {
      "session_end_time": "2026-10-04T06:30:00Z",
      "duration_seconds": 28800,
      "stages": [
        { "stage": "deep", "start_time": "2026-10-03T23:00:00Z",
          "end_time": "2026-10-04T01:00:00Z", "duration_seconds": 7200 }
      ]
    }
  ]
}

Store records keyed on uuid, which stays the same when a record is sent again, and use daily_totals for steps, distance and calories, so a walk counted by phone and watch counts once. The payload reference documents every field.

What Samsung keeps to itself

Not in Samsung's list as of October 2026: stress, ECG, Energy Score, heart rate variability, skin temperature, respiratory rate, resting heart rate and cycle tracking. What Samsung Health shares can change with any version, so check on your own phone under Health Connect's app permissions for Samsung Health.

A live sync, not a one-off file

This isn't a CSV of everything Samsung Health ever stored. The first sync sends the last 7 days, and every sync after that sends what's new or changed, every 60 minutes by default or at fixed times. A backfill reaches as far back as Health Connect holds data. Your receiver decides the format: rows in Postgres, a CSV file, or anything else.

Whether your older Samsung Health history is in Health Connect is up to Samsung Health, and Samsung doesn't say. Its guide only says that once you connect the two, new or updated data is shared. To see what Health Connect holds, run an All history backfill after Grant history access: it sends everything Health Connect has for the types you switched on, so the oldest day that reaches your receiver is how far back your data goes.

Receivers that work: the Life Dashboard stack with Postgres and Grafana, an n8n Webhook node, Node-RED, or a short script. The payload reference has a Python and a Node.js receiver to start from.

The Logs tab of the Android app, with a line per delivery

Limits

  • Watch data reaches Health Connect after it reaches the phone: when the watch reconnects, or when you open or pull down the Samsung Health home screen. Samsung holds back continuous heart rate for a while to save battery.
  • Data from more than 30 days before you first gave the app access needs Health Connect's history permission, which the backfill page asks for with Grant history access.

Life Dashboard for Android

Switch on Health Connect in Samsung Health, install the app, and tap Send test against your URL.

Get it on Google Play

€4.99 once on Google Play: the easy way, with automatic updates, and it supports development.

Other ways to install the same app, with the same signing key: APK on GitHub · Obtainium · F‑Droid

Get the Android app Payload reference

The open-source Android app this guide uses. No account and no cloud. More about the app.

Common questions

Is there a Samsung Health API I can call from my server?

Not for your own data. Samsung has no cloud API you can connect to, and its data SDK is for registered partners. Health Connect on the phone is the open route.

Can I get a CSV file?

Yes. More > Export data on the Health tab shares what the next sync would send as CSV or JSON. To your server, health data leaves the app as JSON, and your receiver can write CSV too if you want that.

Can I send it to Home Assistant as well?

Yes. Pair the Life Dashboard integration, as in Samsung Health in Home Assistant, and each payload goes to both. It counts as delivered once one of them accepts it, so a destination that's down at that moment misses it.