Terra
Integrations
Research

Integration

API
Unified API
SDK
SDK
Authentication
Authentication
Streaming
Streaming
Blood
Blood Report API
Planned Workouts
Planned Workouts
AI Interface
AI Interface

User engagement

Graph API
Graph API
Scores
Health Scores
Rewards
Health Rewards

Use cases

Enterprise
Enterprise
Insurance
Insurance

Developers

Wearable Data
Wearable Data
Community
Community
Documentation
Documentation

Learn

Blog
Blog
Podcast
Podcast
Events
Events
Reports
Reports

Company

Customers
Customers
Careers
Careers
Partners
Partners
Support
Support
Pricing
Become an integrationGet started
IntegrationsResearch
Unified APIUnified APISDKSDKAuthenticationAuthenticationStreamingStreamingGraph APIGraph APIScoresScoresRewardsRewardsBlood Report APIBloodAI InterfaceAI Interface
EnterpriseEnterpriseInsuranceInsuranceWearable DataWearable DataCommunityCommunityDocumentationDocumentationBlogBlogPodcastPodcastEventsEventsReportsReportsCustomersCustomersCareersCareersPartnersPartnersSupportSupport
Pricing
Get startedBecome an integration


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.

Cookies Policy
zap

Latest

zap

Popular

API

Unified API

SDK

Phone SDK

Authentication

Widget

Streaming

Streaming

Graph API

Graph API

I would like time series samples to display my Oura users HRV

All

SufficientVicuna26 months ago

I want to display a graph of my users HRV through out the night, but it seems that only summaries are provided in the sleep payload. I also see samples being returned but it is always []. Is this something that Terra API can retrieve from Oura or not?

terra

Matthewadmin26 months ago

"Hey there. It seems that you have your samples scope disabled. Please go the the dashboard and navigate to Dashboard > Connections > Configure, then enable the samples scope. You should now be able to get samples with your webhook payload!

Also. If you want the HRV samples in the response payload when you make a call to /sleep via our REST API, you can use the query parameter with_samples=true to get samples.


SufficientVicuna26 months ago

That has fixed it thank you. I was making a HTTP request, should I also enable the scope?


terra

Matthewadmin26 months ago

If you wish to also receive all kinds of time series samples in the payloads sent to your webhook, you should enable the samples scope. Enabling this scope also means you will receive samples in your REST requests.