Does Terra provide historical (backfilled) user Garmin data?
AllMolecularWalrus1 month ago
Hi Terra team, we're evaluating Terra API vs going direct to Garmin. One limitation we're running into is the Garmin API doesn't give us an ability to get backfilled user data (i.e. data from days before the user did the OAuth flow to connect Garmin to our app). Is Terra able to get that data?
Thanks!
Vanessaadmin3 weeks ago
Yes! Terra supports historical data retrieval via the REST API. You can call GET /v2/activity, /v2/daily, /v2/body, or /v2/sleep with start_date and end_date parameters to backfill data from before the user connected. Requests spanning more than 28 days are treated as "large requests" and processed asynchronously, the data gets sent to your webhook in chunks.
This is one of the advantages of using Terra API, see our docs: https://docs.tryterra.co/reference/get-activity-data
Hope this helps!