dambel

دمبل

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

API Docs / tracker / workouts / create



POST /api/v1/tracker/workouts

Record a new workout in the tracker system.


Permissions

PermissionDescription
tracker_workouts.createCreate tracker workout

Request Body Parameters

NameTypeRequiredDescription
startstringYesStart datetime of the workout
workout_plan_session_idintNoID of the workout plan session (if based on a plan)
workout_titlestringNoOptional title for the workout
endstringNoEnd datetime of the workout
notesstringNoOptional notes

Response

201 Created

<tracker workout resource>

Error Responses

StatusError TypeReference
422Validation ErrorValidation error
401UnauthorizedAuthentication error
403ForbiddenPermission error

footer wave
logo

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

LinkedinInstagramXYoutube