Wearables
Eight Sleep API
With the Eight Sleep API you can connect to your eight sleep account and retrieve health data from your Eight Sleep mattress or pod cover. Vital makes it easy to integrate with Eight Sleep and retrieve health data.
Step 1
First steps to integrate with Eight Sleep
Step 2
What data does Eight Sleep provide?
All data from Eight Sleep is provided in JSON format. Vital consists of three main schema types that it uses to push data to your webhook url. These schema types can be found here. You can filter these events to receive specific resource types, via webhook. The full list of available resources for Eight Sleep can be found below.
heartrate
hrv
hypnogram
profile
respiratory_rate
sleep
sleep_cycle
sleep_stream
Eight Sleep Webhook Payloads
daily.data.heartrate.created
daily.data.hrv.created
daily.data.hypnogram.created
daily.data.profile.created
daily.data.respiratory_rate.created
daily.data.sleep.created
daily.data.sleep_cycle.created
historical.data.heartrate.created
historical.data.hrv.created
historical.data.hypnogram.created
historical.data.profile.created
historical.data.respiratory_rate.created
historical.data.sleep.created
historical.data.sleep_cycle.created
Step 3
Receiving Data via Webhooks
Eight Sleep data is updated in real-time. Once a user connects their account, you will receive a webhook event with the data. You can also query the data via our API. New data in most cases for Eight Sleep is provided in real-time. Vital guarantees all new data to be available within 15 mins of the data being recorded. A refresh for new Eight Sleep data can also be requested via our refresh API.
View all Event PayloadsStep 4
Historical Harmonized Data
Eight Sleep data is always standardized and harmonized using Vital's standardized schemas. This means you can query historical data for any user via HTTP requests and receive historical data prior to connecting devices using Vital. Full list of historical data and how much data is retrieved for Eight Sleep can be found below.
Start fetching health data from wearables and lab tests.
SOC 2 Type I
HIPAA Certified
GDPR Ready