Skip to content
AF
Integration Guides

How to Integrate Samsung Health with the Data SDK (2026)

Last verified October 17, 2026 · 5 min read

Sources checked (6) · October 17, 2026
To read Samsung Health data, including what a Galaxy Watch or Galaxy Ring syncs to the phone, you use the Samsung Health Data SDK, an Android library that reads the Samsung Health app's data store with the user's per-data-type permission. It needs Samsung Health 6.30.2 or later, Android 10 or later and a real device. During development it works in Samsung Health's developer mode; to release an app you submit a partnership request so Samsung registers your package name and SHA-256 signature, and writing data needs an access code issued after approval. Samsung deprecated its older Samsung Health SDK for Android on July 31, 2025.

On Samsung's developer site, the way to Samsung Health data is the Samsung Health Data SDK, an Android library that lets your app read, and with approval write, selected data in the Samsung Health app's data store on the user's phone. That store also holds data from connected devices: Samsung says a Galaxy Watch or Galaxy Ring automatically transfers its data to the paired phone's Samsung Health app, and lists Galaxy Fit, blood glucose monitors and weight scales among the accessories. Everything below is from Samsung's developer site as read on October 17, 2026. For the comparable Google platform, see Google Health Connect.

Samsung has two other health SDKs that this guide does not cover: the older Samsung Health SDK for Android, which Samsung deprecated as of July 31, 2025 in favor of the Data SDK, and the Samsung Health Sensor SDK, which runs on Galaxy Watch4 and later and exposes raw sensor signals such as accelerometer, ECG and PPG to watch apps.

Access and approval#

StageWhat Samsung's pages say
DevelopDownload the SDK and turn on developer mode in Samsung Health; developer mode is for testing and debugging only
Read in a released appSubmit a partnership request before distribution; after approval, your app's package name and SHA-256 signature are registered in Samsung Health's system
Write dataRequest partnership; after approval you get an access code for writing, valid for one application
Without approvalAn app using the SDK works only with developer mode turned on

Samsung describes the partnership as "an exclusive service for the Samsung Health Data SDK that allows users to discover engaging health and fitness apps". Its pages do not mention fees.

Requirements#

  • Samsung Health version 6.30.2 or later on the phone; the SDK needs Samsung Health installed.
  • Android 10 (API level 29) or later. Samsung Health runs on all Samsung smartphones and on non-Samsung Android phones.
  • Java 17 or later.
  • A real device: the SDK does not support emulators.
  • Samsung says data measured using the SDK is for fitness and wellness purposes only, not for diagnosing or treating any medical condition.

The version on Samsung's download page on October 17, 2026 was Samsung Health Data SDK v1.1.0, shipped as an .aar library you add to your module.

Permissions#

Each data type has its own permission, with read and write separate, and the user grants them in a Samsung Health pop-up. Check what is already granted when your app starts, and request the rest:

// Names from Samsung's Health Data SDK code lab
val store = HealthDataService.getStore(applicationContext)
val permissions = setOf(
    Permission.of(DataTypes.STEPS, AccessType.READ),
    Permission.of(DataTypes.STEPS_GOAL, AccessType.READ),
)
if (!store.getGrantedPermissions(permissions).containsAll(permissions)) {
    store.requestPermissions(permissions, activity)
}

Samsung's guidance is not to repeat a request the user keeps denying, and to explain in your settings screen how to allow it in Samsung Health instead.

Data: what you can read and write#

DirectionData types Samsung lists
ReadActivity summary, active calories burned goal, active time goal, blood glucose, blood oxygen, blood pressure, body composition, body temperature, energy score, exercise, exercise location, floors climbed, heart rate, irregular heart rhythm notification, nutrition, nutrition goal, skin temperature, sleep, sleep apnea, sleep goal, steps, step goal, water intake, water intake goal, user profile
WriteBlood glucose, blood oxygen, blood pressure, body composition, body temperature, exercise, exercise location, floors climbed, heart rate, nutrition, sleep, water intake

Queries can filter and aggregate. Samsung's code lab totals today's steps with an AggregateRequest on DataType.StepsType.TOTAL and a LocalTimeFilter, and groups by hour with a LocalTimeGroup; groupings run from MINUTELY to YEARLY. The aggregate functions combine sources for you, for example total steps from several devices, and only periods with a non-zero step count come back.

val request = DataType.StepsType.TOTAL.requestBuilder
    .setLocalTimeFilter(LocalTimeFilter.of(startOfDay, now))
    .build()
val total = store.aggregateData(request).dataList.firstOrNull()?.value ?: 0L

Two other features matter for sync. HealthDataStore.readChanges() returns what changed for a data type and time filter: new, updated or deleted data, with the deleted data's ID or the new data point and the change time. And every data point carries its source device, so DeviceManager.getDevice(deviceId) tells you whether a value came from a Galaxy Watch, Galaxy Ring, Galaxy Fit, the phone or an accessory.

Errors you will meet#

ErrorMeaning and fix, per Samsung's FAQ
2003: Permission not allowed due to SDK policyThe app's package name or SHA-256 signature does not match what Samsung registered; submit a partner request with the right values, or use developer mode while developing
PLATFORM_NOT_INSTALLED, OLD_VERSION_PLATFORMSamsung Health is missing or too old; ResolvablePlatformException.resolve(activityContext) sends the user to the store page
ERR_NO_USER_PERMISSIONThe user has not granted the data permission; call requestPermissions
ERROR_ACCESS_CONTROLThe data type is outside the scope available to your app; ask Samsung's developer support

Webhooks and rate limits#

Samsung's pages describe no push notifications and no request limits for the Data SDK, which reads from the Samsung Health app on the same phone. To find what is new since your last read, use readChanges().

What changed recently#

WhenChange (Samsung's pages)
July 31, 2025Samsung Health SDK for Android deprecated; Samsung points developers to the Samsung Health Data SDK
Seen October 17, 2026Samsung Health Data SDK v1.1.0 on the download page, requiring Samsung Health 6.30.2 or later

Gotchas and production notes#

  • Android, on the phone. The Data SDK reads Samsung Health on the user's Android phone; the Samsung pages we read describe no iOS SDK or cloud API for this data.
  • Partnership before release. Without registration your app works only in developer mode, so plan the partner request into your launch.
  • Writes need an access code. Request it through the same partnership process.
  • Galaxy Ring and Watch data arrive through the phone. Your app reads them from Samsung Health once the wearable has synced.
  • Wellness, not diagnosis. Samsung's own limitation applies to anything you build.

The rest of the cluster is at how to integrate a fitness or health API.

Frequently asked questions

Does Samsung Health have an API?
Samsung offers the Samsung Health Data SDK, an Android library that lets an app read selected health data from the Samsung Health app's data store on the user's phone and, with approval, write some types. The older Samsung Health SDK for Android was deprecated on July 31, 2025, and Samsung points developers to the Data SDK.
Can I read Galaxy Ring data through Samsung Health?
Yes, through the phone. Samsung says a Galaxy Watch or Galaxy Ring automatically transfers its data to the paired phone's Samsung Health app, where the Data SDK can read it, and each data point names its source device, so you can tell ring data from watch or phone data with DeviceManager.getDevice.
Do I need Samsung's approval to use the Samsung Health Data SDK?
To release an app, yes. During development the SDK works with Samsung Health's developer mode on. Before distribution you submit a partnership request, and after approval Samsung registers your app's package name and SHA-256 signature; without that, the SDK only works in developer mode. Writing data needs an access code issued after approval.
What does error 2003 mean in the Samsung Health Data SDK?
Samsung's FAQ says 2003, Permission not allowed due to SDK policy, means your app's package name or SHA-256 signature does not match what is registered with Samsung. Submit a partner request with the correct values, or enable developer mode to keep developing without registration.
Which devices does the Samsung Health Data SDK run on?
Android 10 (API level 29) or later with Samsung Health 6.30.2 or later installed. Samsung says Samsung Health runs on all Samsung smartphones and on non-Samsung Android phones. The SDK needs Java 17 or later and does not support emulators.

All 113 questions in Integration Guides →

Keep reading

Elsewhere on the site

Pages that share this one’s concepts and sources, from other sections.

Next steps

Was this page useful?

Independent comparison, last reviewed October 17, 2026. Pricing, rate limits, and feature availability change often — confirm current details in each provider’s official documentation before you commit. Product and company names are trademarks of their respective owners; AIFitnessAPI is not affiliated with, endorsed by, or sponsored by any product listed here.

← All integration guides · by AIFitnessAPI