Configuration of your application
In admin console, under Application configuration you can find the setting called “Max Backfill (days)”. By default it’s disabled (set to nothing or 0). To enable the backfill mechanims you need to set the value to the required number of days and save it.Core principles
Once backfill is enabled and new integration get created, where’s what you should expect- backfill is triggered post new integration creation, setting would have no effect on integration that are already created and have the same data accumulated by natular lifecycle
- data delivery (API and webhooks) is unifiend, but backfilling process is unique to each provider, more about this in provider specific sections
- backfilling mosly is asynchronous process. Seeking the best user experience for the application users, they will see integration being successfully created (redirected back to configured postback URL) and process might continue in the background
Provider specifics
Apple HealthKit
Data is stored exclusively on the device (iPhone). Backfilling is possible from the moment application user grants permissions and is limited by:- what data the user has on their device
- what permissions your app has been granted (read access for specific data types)
- user’s health app settings or deletions
- your retention policy settings.
Android Health Connect
Data is stored exclusively on the device (running Android). Backfilling is possible from the moment application user grants permissions and is limited by:- what data the user has on their device
- what permissions your app has been granted (read access for specific data types)
- user’s health app settings or deletions
- your retention policy settings.
- 30 days period predating permission grant