create-webhook-subscription
Set up a webhook subscription to receive POST requests when workouts are created.
Instructions
Create a new webhook subscription for this account. The webhook will receive POST requests when workouts are created. Your endpoint must respond with 200 OK within 5 seconds.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "create-webhook-subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The webhook URL that will receive POST requests when workouts are created | |
| authToken | No | Optional auth token that will be sent as Authorization header in webhook requests |