Workouts

Get a single workout’s complete details by the workoutId

get/v1/workouts/{workoutId}

Request

  • Base URL: https://api.hevyapp.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.hevyapp.com/v1/workouts/{workoutId}
  • Auth: none declared. Required headers: api-key

Path parameters

The id of the workout

Headers

api-keystring uuid required

Response

Success

idstring

The workout ID.

titlestring

The workout title.

routine_idstring nullable

The ID of the routine that this workout belongs to.

descriptionstring nullable

The workout description.

start_timestring

ISO 8601 timestamp of when the workout was recorded to have started.

end_timestring

ISO 8601 timestamp of when the workout was recorded to have ended.

updated_atstring

ISO 8601 timestamp of when the workout was last updated.

created_atstring

ISO 8601 timestamp of when the workout was created.

Example response

{
  "id": "b459cba5-cd6d-463c-abd6-54f8eafcadcb",
  "title": "Morning Workout 💪",
  "routine_id": "b459cba5-cd6d-463c-abd6-54f8eafcadcb",
  "description": "Pushed myself to the limit today!",
  "start_time": "2021-09-14T12:00:00Z",
  "end_time": "2021-09-14T12:00:00Z",
  "updated_at": "2021-09-14T12:00:00Z",
  "created_at": "2021-09-14T12:00:00Z",
  "exercises": [
    {
      "title": "Bench Press (Barbell)",
      "notes": "Paid closer attention to form today. Felt great!",
      "exercise_template_id": "05293BCA",
      "sets": [
        {
          "type": "normal",
          "weight_kg": 100,
          "reps": 10,
          "rpe": 9.5,
          "custom_metric": 50
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.