Login | Sign Up
  • FA
  • EN

API Docs

POST /api/v1/tracker/workouts/{workout-id}/sets

Record a new workout set in the tracker system.


Permissions

PermissionDescription
tracker_workout_sets.createCreate tracker workout set

Request Body Parameters

NameTypeRequiredDescription
startstringYesStart datetime of the workout set
workout_plan_exercise_idintNoWorkout plan exercise ID (if applicable)
exercise_idintYesExercise ID
is_replacementbooleanNoWhether this set is a replacement
rep_countintYesNumber of repetitions
weightintNoWeight used
endstringNoEnd datetime of the workout set
notesstringNoOptional notes

Response

200 OK

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

Error Responses

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

footer wave
logo

Dambel, the smart world of fitness and nutrition

LinkedinInstagramXYoutubeTelegramGitHub