How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

TrainingPeaks Workouts API

Planned and completed workouts, changes, details, and analytics.

TrainingPeaks Workouts API is one of 10 APIs that TrainingPeaks publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Workouts. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 20 operations across 18 paths, and defines 2 schemas. It is described by OpenAPI 3.2.0, at version 2.0.

Requests are made against 2 base URLs: https://api.trainingpeaks.com, https://api.sandbox.trainingpeaks.com.

20 operations 18 paths 2 schemas 2 DELETE15 GET2 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.0
Base URL
https://api.trainingpeaks.com
Authentication
OAuth 2.0
Resource Areas
1

Authentication & Security 1

TrainingPeaks Workouts API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (OAuth2) using the authorizationCode flow, exposing 17 scopes. By default, every request must be authenticated.

  • OAuth2 — OAuth 2.0 authorization code flow. Tokens are short-lived (expiresin seconds) and refreshed with the refreshtoken grant. Scopes are not inclusive (e.g. workout…

Paths & Operations 20

Across 18 paths, the API surfaces 20 operations — 2 DELETE, 15 GET, 2 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Workouts 20

Planned and completed workouts, changes, details, and analytics.

GET
/v2/workouts/{startDate}/{endDate}
Get workouts by date range
getWorkouts 3 params → 200401
GET
/v2/workouts/{athleteId}/{startDate}/{endDate}
Get athlete workouts by date range
getAthleteWorkouts 4 params → 200401
GET
/v2/workouts/changed
Get changed workouts
getChangedWorkouts 1 param → 200401
GET
/v2/workouts/{athleteId}/changed
Get changed workouts for athlete
getChangedWorkoutsForAthlete 2 params → 200401
GET
/v2/workouts/wod/{date}
Get Workout of the Day
getWorkoutOfTheDay 1 param → 200401
GET
/v2/workouts/wod/file/{workoutId}/
Get structured workout file
getWorkoutOfTheDayFile 2 params → 200401
POST
/v2/workouts/plan
Create planned workout
createWorkout body → 201400401
PUT
/v2/workouts/plan/{id}
Update planned workout
updateWorkout 1 param body → 200401
GET
/v2/workouts/id/{id}
Get workout by id
getWorkoutById 2 params → 200401
DELETE
/v2/workouts/id/{id}
Delete workout by id
deleteWorkoutById 1 param → 200401
GET
/v2/workouts/{athleteId}/id/{id}
Get athlete workout by id
getAthleteWorkoutById 3 params → 200401
DELETE
/v2/workouts/{athleteId}/id/{id}
Delete athlete workout by id
deleteAthleteWorkoutById 2 params → 200401
GET
/v2/workouts/id/{id}/meanmaxes
Get workout mean-max data
getWorkoutMeanMax 1 param → 200403401
GET
/v2/workouts/{athleteId}/id/{id}/meanmaxes
Get athlete workout mean-max data
getAthleteWorkoutMeanMax 2 params → 200403401
GET
/v2/workouts/id/{id}/timeinzones
Get workout time in zones
getWorkoutTimeInZones 1 param → 200403401
GET
/v2/workouts/{athleteId}/id/{id}/timeinzones
Get athlete workout time in zones
getAthleteWorkoutTimeInZones 2 params → 200403401
GET
/v2/workouts/id/{id}/details
Get workout details
getWorkoutDetails 1 param → 200204403401
GET
/v2/workouts/{athleteId}/id/{id}/details
Get athlete workout details
getAthleteWorkoutDetails 2 params → 200204403401
POST
/v2/workouts/{athleteId}/id/{workoutId}/comment
Create workout comment
createWorkoutComment 2 params body → 201403401
GET
/v2/athletes/{athleteId}/strength-workouts
Get strength workouts
getStrengthWorkouts 1 param → 200401

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are Workout (19 properties), StrengthWorkout (5 properties). Each schema is shown below with its type and property counts.

StrengthWorkout
object
Strength workout. Modeled from Strength-Workouts-Object wiki page.
5 properties
Workout
object
Planned and/or completed workout. Modeled from the Workouts-Object wiki page; premium-only fields (Calories, TssActual, IF, NormalizedPower, etc.) return null…
19 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

trainingpeaks-workouts-api-openapi.yml Raw ↑

Other APIs TrainingPeaks publishes across the network.

TrainingPeaks Athlete API
TrainingPeaks Coach API
TrainingPeaks Events API
TrainingPeaks File API
TrainingPeaks Info API
TrainingPeaks Metrics API
TrainingPeaks Nutrition API
TrainingPeaks Routes API
TrainingPeaks Webhooks API
Where this information came from

This is an independent, third-party profile of TrainingPeaks Workouts API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.