Routines

Get a paginated list of routines

get/v1/routines

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/routines
  • 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 routines

pageinteger

Current page number

page_countinteger

Total number of pages

Example response

{
  "page": 1,
  "page_count": 5,
  "routines": [
    {
      "id": "b459cba5-cd6d-463c-abd6-54f8eafcadcb",
      "title": "Upper Body 💪",
      "folder_id": 42,
      "updated_at": "2021-09-14T12:00:00Z",
      "created_at": "2021-09-14T12:00:00Z",
      "exercises": [
        {
          "title": "Bench Press (Barbell)",
          "rest_seconds": 60,
          "notes": "Focus on form. Go down to 90 degrees.",
          "exercise_template_id": "05293BCA",
          "sets": [
            {
              "type": "normal",
              "weight_kg": 100,
              "reps": 10,
              "rep_range": {
                "start": 8,
                "end": 12
              },
              "custom_metric": 50
            }
          ]
        }
      ]
    }
  ]
}

Changes

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