Getting Sleep data for my app

Hello,
We are building a mental health product where sleep is one of the markers to assess the condition. Is it possible for us to integrate with sleep as Android and get the sleep data through it?
Thanks
Sur

Hi Sur,

we are open to such integrations. There are multiple possible ways to integrate, depending on how your product is built up.

  1. Integration with the phone app - getting sleep data directly from the app using a content provider (documentation). Users would need to have your own Android app installed along with Sleep as Android.

  2. Integration with SleepCloud web app, using the SleepCloud API. You’d have your backend with a whitelisted Sleepcloud API key , any user of SleepCloud could give your web app a consent to read their data.