
Apple Health
Enable Apple Health through your Terra dashboard
Select a Wearable
Apple Health
Connect users to your app
0. "active_durations_data":{...}
1. "calories_data": {...}
2. "device_data": {...}
3. "distance_data": {...}
4. "heart_rate_data": {...}
5. "movement_data": {...}
6. "position_data": {...}
Start receiving data from Apple Health on your app or website



When data is available from an Apple Health user's device, Terra sends it straight to your webhook. During your Terra account setup you'll be prompted for a callback URL, and that is where Terra POSTs each payload.

Apple Health data lives on the user's phone, so the Terra mobile SDK reads it there rather than calling a Apple Health server. Terra normalizes each upload and POSTs it to your webhook.
Terra API preserves the raw data from the wearable, it just standardizes the units and the json format. It doesn’t augment or change the raw data in any way.
Data is organized into one of 6 data types.
Learn More
Activity Payload (JSON)
{
active_durations_data: { ... }
calories_data: { ... }
data_enrichment: { ... }
distance_data: { ... }
energy_data: { ... }
heart_rate_data: { ... }
metadata: { ... }
movement_data: { ... }
polyline_map_data: { ... }
position_data: { ... }
work_data: { ... }
}
Data can also be sent as a FIT File or with the FHIR Format.
Can't Find Your Question?
Terra API integrates with any Apple Health device currently supported by Apple Health.
These integrations also offer Activity, Body, Daily and Sleep data.
Cookie Preferences
Crunch Time: Embrace the Cookie Monster Within!
We use cookies to enhance your browsing experience and analyse our traffic. By clicking “Accept All”, you consent to our use of cookies according to our Cookie Policy. You can change your mind any time by visiting out cookie policy.