/api/v1/training/workout-plans/{workout-plan-id}/sessions
Create a new session for a specific workout plan.
Permission | Description |
---|---|
workout_plan_sessions.create | Create sessions for your workout plans |
workout_plans.update | Update your own workout plans |
Name | Type | Required | Description |
---|---|---|---|
title | string | Yes | Title of the session (max 255, e.g. Leg Day) |
day | string | Yes | Weekday of the session (saturday , etc.) |
description | string | No | Description (max 2000, optional) |
<workout plan session resource>
Status | Error Type | Reference |
---|---|---|
422 | Validation Error | Validation error |
401 | Unauthorized | Authentication error |
404 | Not Found | Not-found error |
403 | Forbidden | Permission error |