Webhook Get Subscriptions - TrainingPeaks/PartnersAPI GitHub Wiki

Get All Subscriptions

Gets all webhook subscription for a person

  • Resource endpoint: v1/webhook/subscriptions
  • HTTP Method: GET
  • OAuth Scope Required: webhook:read-subscriptions

Request

Endpoints

Testing:
https://api.sandbox.trainingpeaks.com/v1/webhook/subscriptions

Production:
https://api.trainingpeaks.com/v1/webhook/subscriptions

Query Parameters

Name Type Description
AthleteId int ID of the person you wish to receive webhooks for

Example Query Parameter Request

GET https://api.trainingpeaks.com/v1/webhook/subscriptions?AthleteId=54321

Request Body

Returns: An array of the subscriptions

Example Response:

[
{
    "Id": "0d76e887-8e8a-46f4-bb2b-2f66e4fc40ee",
    "AthleteId": 54321,
    "EventType": "workout-created",
    "WebhookUrl": "https://api.mycompany.com/callback",
    "Active": true,
    "CreatedBy": 54321,
    "CreatedOn": "2025-07-24T21:03:05.1324848Z"
}
]