create_webhook
Send Trainzilla events to an https URL (Zapier/Make catch hook or the coach's server). Returns the signing secret ONCE — tell the coach to store it. Events: CLIENT_JOINED, PAYMENT_CONFIRMED, CHECKIN_SUBMITTED, PERSONAL_RECORD_HIT. (confirm-gated: previews until confirm: true)
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>",
"events": "<events>"
},
"name": "create_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| events | Yes | ||
| confirm | No | Must be true to actually execute. If false/omitted, returns a preview only. |