Login | Sign Up
  • FA
  • EN

API Docs

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

200 OK

{
  "data": { /* tracker workout resource */ }
}

Error Responses

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

footer wave
logo

Dambel, the smart world of fitness and nutrition

LinkedinInstagramXYoutubeTelegramGitHub