TrainingPeaks Coach API

Coach profile, athletes, and assistant management.

GitHub OpenAPI

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1/coach/profile Get my coach profile · Get coach profile #
Ask an LLM
“What are my own coach profile details in TrainingPeaks?”
“Can I see my coach profile through the API?”
Tell an agent
Show my coach profile.
Get the authenticated coach's profile.
GET /v1/coach/athletes List my athletes · List coach athletes #
Ask an LLM
“Which athletes are attached to my coach account?”
“Can I list all my athletes?”
Tell an agent
List my athletes.
Show every athlete on my coach account.
GET /v1/coach/athletes/zones Get athlete zones (deprecated) · Get coach athletes zones (deprecated) #
Ask an LLM
“Can I still read athlete zones through the deprecated athlete zones endpoint?”
“Is the athlete zones call still available?”
Tell an agent
Use the deprecated athlete zones endpoint to get zones for my athletes.
Call the deprecated athlete zones endpoint.
GET /v1/coach/athletes/zones/{zoneType} Get athlete zones by type (deprecated) · Get coach athletes zones by type (deprecated) #
Ask an LLM
“Can I read athlete zones filtered by type using the deprecated endpoint?”
“Is the athlete zones by type call deprecated?”
Tell an agent
Use the deprecated athlete zones by type endpoint to get {zoneType} zones for my athletes.
Call the deprecated athlete zones by type endpoint for {zoneType}.
GET /v1/coach/assistants List my assistant coaches · List assistants #
Ask an LLM
“Who are the assistant coaches on my account?”
“Can I list my assistant coaches?”
Tell an agent
List my assistant coaches.
Show every assistant coach on my account.
GET /v1/coach/assistants/{assistantId} Get one assistant coach · Get assistant #
Ask an LLM
“What are the details of a specific assistant coach?”
“Can I fetch one assistant coach by ID?”
Tell an agent
Get assistant coach {assistantId}.
Show assistant coach {assistantId}.
GET /v1/coach/assistants/{assistantId}/athletes List an assistant's athletes · List assistant athletes #
Ask an LLM
“Which athletes does a particular assistant coach manage?”
“Can I list the athletes of one assistant?”
Tell an agent
List the athletes of assistant coach {assistantId}.
Show the athletes managed by assistant {assistantId}.

Documentation

📖
Documentation
https://github.com/TrainingPeaks/PartnersAPI/wiki
📖
APIReference
https://github.com/TrainingPeaks/PartnersAPI/wiki/Athlete-Get-Profile
📖
Documentation
https://github.com/TrainingPeaks/PartnersAPI/wiki/API-Endpoints
📖
APIReference
https://github.com/TrainingPeaks/PartnersAPI/wiki/Workouts-Get
📖
Documentation
https://github.com/TrainingPeaks/PartnersAPI/wiki/Workouts-Get-Details
📖
APIReference
https://github.com/TrainingPeaks/PartnersAPI/wiki/Workouts-Get-Mean-Max-Data
📖
Documentation
https://github.com/TrainingPeaks/PartnersAPI/wiki/Workout-Of-The-Day-Get
📖
APIReference
https://github.com/TrainingPeaks/PartnersAPI/wiki/Workout-Of-The-Day-Structured-Workout-File
📖
Documentation
https://github.com/TrainingPeaks/PartnersAPI/wiki/Metrics-Object
📖
APIReference
https://github.com/TrainingPeaks/PartnersAPI/wiki/v2-Metrics-Get-By-Date-Range
📖
Documentation
https://github.com/TrainingPeaks/PartnersAPI/wiki/Athlete-Get-Nutrition
📖
APIReference
https://github.com/TrainingPeaks/PartnersAPI/wiki/Athlete-Post-Nutrition
📖
Documentation
https://github.com/TrainingPeaks/PartnersAPI/wiki/Coach-Get-Profile
📖
APIReference
https://github.com/TrainingPeaks/PartnersAPI/wiki/Coach-Get-Athletes
📖
Documentation
https://github.com/TrainingPeaks/PartnersAPI/wiki/File-Upload
📖
APIReference
https://github.com/TrainingPeaks/PartnersAPI/wiki/File-Upload-Asynchronous
📖
Documentation
https://github.com/TrainingPeaks/PartnersAPI/wiki/Event-Object
📖
APIReference
https://github.com/TrainingPeaks/PartnersAPI/wiki/Routes-Object
📖
Documentation
https://github.com/TrainingPeaks/PartnersAPI/wiki/Webhook-Create-Subscription
📖
APIReference
https://github.com/TrainingPeaks/PartnersAPI/wiki/Webhook-Get-Subscriptions

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/trainingpeaks:trainingpeaks-coach-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

trainingpeaks-coach-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TrainingPeaks Partners Coach API
  version: '2.0'
  description: The TrainingPeaks Partners API (Public API) lets approved third-party applications read and write TrainingPeaks data on behalf of a user - athlete profiles, planned and completed workouts, structured workout files, wellness metrics, nutrition, events, routes, coach relationships, activity file uploads, and workout webhooks.
  contact:
    name: TrainingPeaks API Partnerships Team
    url: https://api.trainingpeaks.com/request-access
  x-access-model: partner-gated (application required; not available for personal use)
  x-endpoints-confirmed: true
  x-schemas-modeled: true
  x-documentation: https://github.com/TrainingPeaks/PartnersAPI/wiki
servers:
- url: https://api.trainingpeaks.com
  description: Production
- url: https://api.sandbox.trainingpeaks.com
  description: Sandbox (UAT; database refreshed weekly from production)
security:
- OAuth2: []
tags:
- name: Coach
  description: Coach profile, athletes, and assistant management.
paths:
  /v1/coach/profile:
    get:
      tags:
      - Coach
      summary: Get coach profile
      description: Retrieve the authenticated coach's profile. Scope coach:athletes.
      operationId: getCoachProfile
      responses:
        '200':
          description: The coach profile.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoachProfile'
        '401':
          $ref: '#/components/responses/Unauthorized'
  /v1/coach/athletes:
    get:
      tags:
      - Coach
      summary: List coach athletes
      description: List the athletes attached to the authenticated coach. Scope coach:athletes.
      operationId: getCoachAthletes
      responses:
        '200':
          description: The coach's athletes.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AthleteProfile'
        '401':
          $ref: '#/components/responses/Unauthorized'
  /v1/coach/athletes/zones:
    get:
      tags:
      - Coach
      summary: Get coach athletes zones (deprecated)
      description: Deprecated. Zones for the coach's athletes. Scope coach:athletes.
      operationId: getCoachAthleteZones
      deprecated: true
      responses:
        '200':
          description: Zones for the coach's athletes.
        '401':
          $ref: '#/components/responses/Unauthorized'
  /v1/coach/athletes/zones/{zoneType}:
    get:
      tags:
      - Coach
      summary: Get coach athletes zones by type (deprecated)
      description: Deprecated. Zones by type for the coach's athletes. Scope coach:athletes.
      operationId: getCoachAthleteZonesByType
      deprecated: true
      parameters:
      - name: zoneType
        in: path
        required: true
        schema:
          type: string
          enum:
          - heartrate
          - power
          - speed
      responses:
        '200':
          description: Zones for the coach's athletes for the type.
        '401':
          $ref: '#/components/responses/Unauthorized'
  /v1/coach/assistants:
    get:
      tags:
      - Coach
      summary: List assistants
      description: List assistant coaches for the authenticated coach. Scope coach:athletes.
      operationId: getCoachAssistants
      responses:
        '200':
          description: The coach's assistants.
        '401':
          $ref: '#/components/responses/Unauthorized'
  /v1/coach/assistants/{assistantId}:
    get:
      tags:
      - Coach
      summary: Get assistant
      description: Retrieve a single assistant coach. Scope coach:athletes.
      operationId: getCoachAssistant
      parameters:
      - name: assistantId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: The assistant coach.
        '401':
          $ref: '#/components/responses/Unauthorized'
  /v1/coach/assistants/{assistantId}/athletes:
    get:
      tags:
      - Coach
      summary: List assistant athletes
      description: List the athletes attached to an assistant coach. Scope coach:athletes.
      operationId: getCoachAssistantAthletes
      parameters:
      - name: assistantId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: The assistant's athletes.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AthleteProfile'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    CoachProfile:
      type: object
      description: Coach profile. Modeled.
      properties:
        Id:
          type: integer
          format: int64
        FirstName:
          type: string
        LastName:
          type: string
        Email:
          type: string
        CoachType:
          type: string
    AthleteProfile:
      type: object
      description: Athlete profile. Modeled - property set is representative.
      properties:
        Id:
          type: integer
          format: int64
        FirstName:
          type: string
        LastName:
          type: string
        Email:
          type: string
        IsPremium:
          type: boolean
          description: Governs which workout fields are returned.
        Type:
          type: string
          description: athlete or coach account type.
        TimeZone:
          type: string
        Units:
          type: string
          description: english or metric.
  responses:
    Unauthorized:
      description: Bad, expired, or missing authorization header.
  securitySchemes:
    OAuth2:
      type: oauth2
      description: OAuth 2.0 authorization code flow. Tokens are short-lived (expires_in seconds) and refreshed with the refresh_token grant. Scopes are not inclusive (e.g. workouts:details does not include workouts:read) and are limited to those granted to your application.
      flows:
        authorizationCode:
          authorizationUrl: https://oauth.trainingpeaks.com/OAuth/Authorize
          tokenUrl: https://oauth.trainingpeaks.com/oauth/token
          refreshUrl: https://oauth.trainingpeaks.com/oauth/token
          scopes:
            athlete:profile: Read the authenticated athlete's profile and zones.
            coach:athletes: Read coach profile, athletes, and assistants.
            workouts:read: Read planned and completed workouts and analytics.
            workouts:plan: Create, update, and delete planned workouts.
            workouts:wod: Read Workout of the Day and structured workout files.
            workouts:details: Read workout detail samples and post comments.
            metrics:read: Read athlete metrics.
            metrics:write: Create athlete metrics.
            nutrition:read: Read athlete nutrition entries.
            nutrition:write: Create, update, and delete nutrition entries.
            events:read: Read athlete events.
            events:write: Create athlete events.
            routes:read: Read athlete routes.
            routes:write: Create athlete routes.
            file:write: Upload activity files.
            webhook:read-subscriptions: List webhook subscriptions.
            webhook:write-subscriptions: Create, update, and delete webhook subscriptions.