Using Data from Garmin connect, not Strava for API-calls

I am trying to move Data from intervals via API (through scripts) into Google-Sheets for analyzing by Gemini. Working quite well.
But I am stuck.
Data acquired by my Garmin Fenix through connect, and only by garmin connect, shows up perfectly.
Zwift Rides, that are also synced to garmin connect, but also Strava, are somehow tagged als Strava Imports, although garmin connect receives data.
How can I make intervals give me access to the garmin data instead.
Would it be wise to deactivate Strava alltogether? Will I loose all my data through new policy by Strava once I disconnect? I am support member, does this enhance options? What am I missing?
Once I am finished with the project I can share the approach here.

Thanks for advice in advance,
Peter

Garmin only forwards data aquired on their devices.
The Zwift data in Intervals originates thus from Strava…
Connect Zwift directly to Intervals. But this connection does not support historical data, only new activities.
Get Strava or Garmin export from your historical Zwift activities and import in Intervals.

2 Likes

Thank you for that fast reply. It helps, that my logic doesn´t seem to be too far off.
I have Zwift already connected, but although it has been connected for a year, by reading Intervals.icu and Zwift Integration is live! it seems that it wasn´t synced, since the workout also existed in Strava (looking at the connection in settings ist set it hasn´t uploaded for 12 months. Reestablishing that connection (to Zwift) set it back to zero.
My historical data from strava is there, since i synced it through download and import 2 days ago. New activities though don´t show up due to metioned restriction.
Now I am trying to find the sweet spot:
Garmin Workouts (running, outdoor cycling, rucking, strength training and conditioning) directly from connect
Zwift indoor rounds from zwift (away from Strava)
dumping Strava alltogether, since there doesn´t seem to come any relevant additional value, but a lot of trouble
Two things I am unsure atm:
Will disconnecting Strava result in loss of historical data (I think I imported most of it 2 days ago)
Will the Zwift integration deliver the same amount of data for future workouts without drawbacks.
If so, that would be the way to go.
Thank you

Simply stop downloading activities from Strava but don not disconnect if unsure about historical data. It doesn’t harm to keep the connection with Strava, because anything that comes to Intervals from another source will overrule the Strava connection. That way, you are sure to not loose any historical data.
The data coming from Zwift directly should be richer (or at least be the same) then what Strava forwards.

1 Like

Intervals.icu is supposed to delete all your Strava data if you disconnect so safer to just keep it connected and connect all the original sources.

Thank you for the info.
Follow up question: if I uploaded legacy data (saying strava an upload in the upper right corner of the workout), I expect the data should stay in place, just the Strava tag should disapper. At least that would be my expected behaviour.

No, Strava says, if you have used their API to get the data, and the user disconnects, all data coming from that API has to be deleted. It’s their T&C for using their API.

But yes, it will only remove the tag, if you have it also from another source, so the tag is something like ~ Garmin ~ Strava

You can also get historical data from Strava, upload this data and then this data will stay in place.

There’s maybe a misunderstanding here:
If it says both Strava and Upload in the upper right corner, it means you have manually uploaded an activity. if you disconnect Strava, the Strava data will be eliminated and the link will just show Upload.
If you keep Strava connected, both will remain. Intervals will use the data from Upload, but can link to Strava if you click on the Strava link. Depending on your Strava config, some supplementary info from Strava will display, like activity naming or similar.

If you have a date range where you are unsure where the data came from, you can always request a ‘original data’ from Strava and upload that in Intervals. This downloaded data is your original data and will not be affected when you disconnect from Strava. But be careful with this, because there can be duplicates if it was already there from another source!

1 Like

Hi @david, I’m having a similar issue to @Relm77.

I’m trying to switch my primary data source from Strava to Garmin, but I’m stuck.

I have already:

  1. Unchecked all boxes including ‘Download activities’ in the Strava settings (I kept the connection to preserve history).
  2. Disconnected and reconnected Garmin ensuring all permissions are checked (Activities, Wellness, etc.).
  3. Deleted a specific activity from my calendar (to remove the old Strava version).
  4. Used the ‘Download old data’ button in the Garmin settings for that specific date.

Despite this, the Garmin activity never appears; the day remains empty. It seems the sync is not triggering for past files.

Could you please take a look? My Intervals.icu ID is: Carlosmora1

Thanks!

You need to use the “Download All Garmin Data” button. The historical one is very hit and miss. Garmin heavily restrict historical searches. You do not need to remove the Strava versions. Intervals.icu will replace them and link the Garmin one to Strava and Garmin Connect.

Thanks for the quick reply!

I see the ‘IMPORT ALL GARMIN DATA’ button. Is that the one to use to fill in the missing activities? I just need this week

Also, just to confirm for future activities: Do I need to do the import again? or will they now sync automatically from Garmin (since I have unchecked ‘Download activities’ for Strava)?

In that case it might be easier to manually download from Garmin Connect and upload to Intervals.
If your connection is correctly set, future ones will come in automatically.