Skip to main content
Question

Add Muscle group via APi

  • July 3, 2026
  • 5 replies
  • 90 views

Forum|alt.badge.img+1

Hi Strava team,

I'm testing the API and uploading weight training workouts via the POST /uploads endpoint (data_type=jsonWeightTraining) with structured set data — each set includes exercise_typerepetitions and weight.

This works well: the created activity correctly shows the sets, reps and total volume.

However, the muscle group visualization (the body map highlighting which muscles were worked) does not appear on activities that are uploaded through the API — it only seems to show for workouts logged directly in the Strava app.

My question: Is it possible to have the muscle group breakdown generated for weight training activities uploaded via the API? If so, is there anything specific required in the JSON (fields, exercise_type values, etc.) to trigger it? Or is this visualization currently reserved for workouts created within the Strava app?

Thanks a lot for your help!

Best regards

5 replies

  • July 6, 2026

Hi ​@ASCND Simon 

Thanks for your message. The muscle map is generated through uploaded activity files for WeightTraining, HighIntensityIntervalTraining, Workout, and Crossfit activities. 


Forum|alt.badge.img+1
  • Author
  • Hub Rookie
  • July 6, 2026

Hi ​@ASCND Simon 

Thanks for your message. The muscle map is generated through uploaded activity files for WeightTraining, HighIntensityIntervalTraining, Workout, and Crossfit activities. 

Thank you ​@Emily_A , im still having issues with the muscle map threw the upload. I have this JSON and somehow in some accounts it creates an image and in other ones it doesnt. Is there a limitation to when it is created or is there a specific user setting i have to inform my users about?

Regards, Simon


  • July 6, 2026

Hi ​@ASCND Simon,

What sport_type are you listing in your uploads?

 


Forum|alt.badge.img+1
  • Author
  • Hub Rookie
  • July 6, 2026

Hi ​@ASCND Simon,

What sport_type are you listing in your uploads?

 

Hi ​@Emily_A , I'm uploading with sport_type=WeightTraining (via the POST /uploads multipart endpoint, data_type=json). The sets, reps and total volume show up correctly on the activity — only the muscle map doesn't appear. 

fd.append('sport_type', 'WeightTraining');


  • July 7, 2026

Hi ​@ASCND Simon please reach out to developers@strava.com