Workouts

Get a paginated list of workouts

get/v1/workouts

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
  • Auth: none declared. Required headers: api-key

Query parameters

pageinteger

Page number (Must be 1 or greater)

pageSizeinteger

Number of items on the requested page (Max 10)

Headers

api-keystring uuid required

Response

A paginated list of workouts

pageinteger

Current page number

page_countinteger

Total number of pages

Example response

{
  "page": 1,
  "page_count": 5,
  "workouts": [
    {
      "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.