Hello,
The Strava website provides a convenient way to get the .tcx files of a specific activity:
This is a little-known trick, however, it's simple to use. Simply add "/export_tcx" - without quotes - to the end of your activity page URL. For example, if your activity page is www.strava.com/activities/2865391236 - just add the text to give you www.strava.com/activities/2865391236/export_tcx and hit enter. This will download a TCX version of your file to the location specified by your browser's preferences
Is there a way to achieve this with the API? I can get .tcx file for routes but not for activities.
Thanks for your help!