Connect with EightSleep

With Terra's 8Sleep web API integration, you will receive 8Sleep's detailed sleep analysis synced into your app, allowing you to see data points like users' heart rate, hrv (heart rate variability), and even users' breathing rate on a per-minute basis. The Terra API integration will automatically push these sleep metrics data to you, allowing you to analyze them and provide more value to your users

Start Receiving Data From EightSleep In 5 Minutes

EightSleep

EightSleep

Enable EightSleep through your Terra dashboard

Select a Wearable

EightSleep

EightSleep

Connect

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 EightSleep on your app or website

You Can Receive...

Recent Data with Webhooks
Historical Data with HTTP Requests

When data is available from an Apple device, it will be streamed to you via our webhooks. During your Terra account setup, you'll be prompted to provide a callback URL, allowing Terra to PUSH data using POST requests.

You may also use HTTP requests with your Apple integration in case you wish to request historical data or data over extended periods of time.

Our Apple integration with Terra offers instant data delivery, eliminating the need for periodic requests. Apple notifies Terra whenever new data is available, and we then POST the normalized data to your webhook.

Most HTTP endpoints can take additional parameters start_date and end_date which allow you to request data over a specific period for the given user.

When data is available from an Apple device, it will be streamed to you via our webhooks. During your Terra account setup, you'll be prompted to provide a callback URL, allowing Terra to PUSH data using POST requests.

Our Apple integration with Terra offers instant data delivery, eliminating the need for periodic requests. Apple notifies Terra whenever new data is available, and we then POST the normalized data to your webhook.

EightSleep's

Sleep


Payload Preview



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

EightSleep's Avaliable Data Types

Sleep Payload (JSON)

{

respiration_data: { ... }

metadata: { ... }

readiness_data: { ... }

heart_rate_data: { ... }

temperature_data: { ... }

sleep_durations_data: { ... }

}

Data can also be sent as a FIT File or with the FHIR Format.

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

Effortless Backend Integrations

Send your users data to a variety of different destinations.
WebhookWebhook
FirestoreFirestore
SQLSQL
Mongo DBMongo DB
Google Cloud Storage BucketGoogle Cloud Storage Bucket
WebhookWebhook
FirestoreFirestore
SQLSQL
Mongo DBMongo DB
Google Cloud Storage BucketGoogle Cloud Storage Bucket
AWS S3 BucketAWS S3 Bucket
AWS Simple Queue ServiceAWS Simple Queue Service
KafkaKafka
SupabaseSupabase
Azure BlobAzure Blob
AWS S3 BucketAWS S3 Bucket
AWS Simple Queue ServiceAWS Simple Queue Service
KafkaKafka
SupabaseSupabase
Azure BlobAzure Blob

Connect with our EightSleep Integration

Ask, Learn, and Connect

Explore the community forum and connect to Terra API with ease.

Cookie Preferences

Essential CookiesAlways On
Advertisement Cookies
Analytics Cookies

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.