Escorts
POST /api/public/escorts
Changed onStart a new coaching period (escort) for a trainee. The plan ids required depend on escortType: "Training" needs trainingPlanId, "Nutrition" needs nutritionMenuId, "Nutrition and training" needs both, and "Other" needs neither. Create the plan or menu first (POST /training-plans, POST /nutrition-menus) and pass its id here. A trainee may only have one active escort at a time.
Request
- Base URLhttps://api.coach-platform.com
- AuthHTTP bearer
Headers
Idempotency-Keystring
Optional. Send a unique key (e.g. a UUID) to make this POST safe to retry. The same key within 24h returns the original result instead of creating a duplicate.
Request body
Response
Created
Changes
- info
added the new optional request property
- info
added the optional property
//to the response with the status
- info
- info
added the new optional request property
1 more change in this revision
- info