The process for authenticating and retrieving Apple Health data is different from other sources because its data exists solely on a user's iPhone. As a result, users will be prompted to create a Human API account after selecting "Apple Health" or "Apple Watch" in Connect, which they can then use to log into the Human API iOS app to facilitate data synchronization. On the first sync, up to 90 days of past Apple Health data will be transferred. Human API will then pull and store new data from the initial sync date onward.
The Human API app must be opened then allowed in the background in order to sync Apple Health & Apple Watch data. Afterwards, you do not need to open the Human API app to trigger a sync--data syncs will occur automatically in the background.
Data Not Showing in Human API?
The number one reason that data may not be showing in Human API is because it has not yet synced from the user's phone. The first step to troubleshoot here should be to have the user verify that they are logged into the Human API app. A data sync is automatically initiated in the iPhone's background, so this will ensure that all new or updated data is or has been sent to Human API for processing.
You can also try the following steps to forcibly resync data between the device and Human API:
In the Human API app > select the tab “Accounts”, select “Apple Health” >select “Sync Apple Health Data” > select “Sync Data”
Article is closed for comments.