With an access token, you can query a user's latest health data anytime. However, in order to keep your user data as up-to-date as possible, we recommend using Notifications.
Notifications are sent whenever a user adds a new data source or has new data available. For this reason, notifications should be the primary mechanism for receiving the latest user data from Human API.
In order to receive notifications, you must implement a listener on your server that will receive notifications and subsequently pull the updated data from the appropriate endpoint.
To implement Notifications, see the guide here
Updated 2 years ago