Can a 3rd party app use WorkoutKit to store interval details?

I am the developer of a workout app that allows users to create interval programs (e.g. Warm Up, Fast, Cool Down).

It is possible for me to store the data for the intervals along with the workout in the Health system by using WorkoutKit (or any other method)?

My aim is to make it so that the Fitness app shows the interval details when users view workouts created by my app.

Thanks in advance.

Answered by DTS Engineer in 866218022

We currently don't have an API for you to store a workout plan along with a workout you create. If that's what you are looking for, I’d suggest that you file a feedback report – If you do so, please share your report ID here.

For a workout completed in the system-provided Workout app in watchOS or the Fitness app in iOS, you can access the workout plan, if any, via the workoutPlan property.

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

Accepted Answer

We currently don't have an API for you to store a workout plan along with a workout you create. If that's what you are looking for, I’d suggest that you file a feedback report – If you do so, please share your report ID here.

For a workout completed in the system-provided Workout app in watchOS or the Fitness app in iOS, you can access the workout plan, if any, via the workoutPlan property.

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

Can a 3rd party app use WorkoutKit to store interval details?
 
 
Q