Coach Get Athletes - TrainingPeaks/PartnersAPI GitHub Wiki

Endpoint:

  • /v1/coach/athletes
  • HTTP Method: GET
  • Required Scope: coach:athletes

Example Endpoint:

Testing:
https://api.sandbox.trainingpeaks.com/v1/coach/athletes

Production:
https://api.trainingpeaks.com/v1/coach/athletes

Returns: An array of the coaches athletes

[
  {
    "Id": 123456,
    "FirstName": "John1",
    "LastName": "Doe1",
    "Email": "[email protected]",
    "TimeZone": "America/Denver",
    "BirthMonth": "1980-10",
    "Sex": "m",
    "CoachedBy": 987654,
    "Weight": 87.5223617553711,
    "IsPremium": true,
    "PreferredUnits": "English"
  },
  {
    "Id": 123457,
    "FirstName": "John2",
    "LastName": "Doe2",
    "Email": "[email protected]",
    "BirthMonth": null,
    "Sex": "f",
    "CoachedBy": 987653,
    "IsPremium": false,
    "PreferredUnits": "Metric"
  },
  {
    "Id": 1234568,
    "FirstName": "John3",
    "LastName": "Doe3",
    "Email": "[email protected]",
    "BirthMonth": "1978-05",
    "Sex": "m",
    "CoachedBy": 987654,
    "IsPremium": true,
    "PreferredUnits": "Metric"
  }
]

Note: IsPremium indicates if the athlete has access to Premium features. (Athletes with trial subscription to premium features are excluded.)