dambel

دمبل

shevron
ورود | ثبت نام

API Docs / training / workout-plans / index



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


footer wave
logo

دمبل، دنیای هوشمند ورزش و تغذیه

LinkedinInstagramXYoutube