Integrate · REST API
Health data API for wearable programs
One REST API for the processed data Sensor Bio V2 produces, and for the organization behind it: users, invites, devices and data downloads.
Quick answer
What does the Sensor Bio health data API do?
The Sensor Bio REST API sends the processed data Sensor Bio V2 produces to your backend as JSON over HTTP/2, with timestamps in Unix milliseconds (UTC). Use an organization API key for server-to-server work across your organization, or OAuth2 when each user signs in and approves access. The same API manages users, invites and devices. Raw PPG comes through the SDK stream or a per-organization download instead.
Processed data, ready for your backend.
JSON over HTTPS, with every timestamp in Unix milliseconds (UTC).
The core signals
Heart rate, SpO2, breathing rate and HRV, per user.
Nights, in detail
Sleep stats plus daily and granular sleep details.
Daily scores and recovery
Daily scores and recovery score details at the granularity you ask for.
Movement and energy
Steps, calories and activities, with day, week, month and year granularity where supported.
Two ways in, depending on who owns the data.
Both use the same API host. Pick by whether you act for your whole organization or for one consenting user.
Server to server
Data across your organization, device provisioning and user management. Required by organization-only endpoints.
Create the key in the Sensor Bio web platform under Developers, keep it server-side, and send Authorization: APIKey <key>.
On behalf of a user
Products where each user signs in and approves access to their own data.
Authorization code flow with a refresh token. There is no client credentials grant and no scopes.
One header, one call.
curl --http2 https://api.sensorbio.com/v1/biometrics \ -H "Authorization: APIKey $SENSORBIO_API_KEY"
The API requires HTTP/2. An HTTP/1.x request returns status 464.
Date parameters use the user's local date; response timestamps are Unix ms in UTC.
Developer samples in curl, Python, TypeScript and Go cover both auth methods. Demo credentials are available on request from developers@sensorbio.com.
What lives where in the API.
| Specification | Endpoints | Auth |
|---|---|---|
| User data | ||
| Biometrics | /v1/biometrics | API key or OAuth2 |
| Sleep | /v1/sleep, /v1/sleep/details/day, /v1/sleep/details/granular | API key or OAuth2 |
| Scores and recovery | /v1/scores, /v1/scores/recovery/details | API key or OAuth2 |
| Activity | /v1/steps, /v1/step/details, /v1/calorie/details, /v1/activities | API key or OAuth2 |
| User and device | /v1/user, /v1/device-info | API key or OAuth2 |
| Organization | ||
| Users and invites | /v1/organizations/users, /invite-user, /sign-user-up | Org API key only |
| Sign-in help | /v1/organizations/login-tokens, /login-qr-code | Org API key only |
| Devices | /v1/organizations/user-device-lock, /device-subscriptions | Org API key only |
Questions, answered.
What is a wearable health data API?
It is an interface your backend calls to read data a wearable has already collected and synced, rather than pairing with the device itself. With Sensor Bio, the REST API returns processed metrics per user plus organization tools for users, invites and devices. The mobile SDK covers live data on the phone.
What data does the Sensor Bio API return?
Sleep, biometrics (heart rate, SpO2, breathing rate and HRV), daily scores, recovery, steps, calories, activities and device info, as JSON.
Should I use an API key or OAuth2?
Use an organization API key for server-to-server work across your organization. Use OAuth2 when each user signs in and approves access to their own data.
Can I get raw PPG through the API?
Raw PPG for V2 comes through the SDK raw stream or a per-organization download from the web platform. The REST API serves computed metrics.
Why am I getting HTTP 464?
The API requires HTTP/2. A 464 means the request went out over HTTP/1.x, often because of an old client library or a proxy that downgrades the connection.
How do I try the API?
Download the developer samples (curl, Python, TypeScript and Go) from developers.sensorbio.com and request demo credentials from developers@sensorbio.com.
Protect the Signal.
Get an API key for your organization.
Talk to the team about access, demo credentials and your data model.
Sensor Bio V2 is a general wellness device. It is not FDA cleared and is not intended to diagnose, treat, cure or prevent any disease. Data described on this page is for wellness, research and product development use.




