Login | Sign Up
  • FA
  • EN

API Docs

GET /api/v1/training/workout-plans

Retrieve a list of your own and your trainees' workout plans.


Permissions

PermissionDescription
workout_plans.viewView workout plans

Query Parameters

NameTypeRequiredDescription
trainee_idstringNoComma-separated trainee IDs to filter
searchstringNoSearch by title or description
pageintNoPage number for pagination
sortstringNoasc for oldest, desc for latest (default: desc)

Response

200 OK

{
  "data": [<workout plan resource>, ...],
  "links": {<pagination data>},
  "meta": {<pagination data>}
}

Note: The current active plan is always at the top of the list regardless of the sorting options


Error Responses

StatusDescriptionReference
401UnauthorizedAuthentication error
403Forbidden (no permission)Permission error

footer wave
logo

Dambel, the smart world of fitness and nutrition

LinkedinInstagramXYoutubeTelegramGitHub