routines

Get routine by ID

Changed on

Retrieve a single routine with its workout references.

get/routines/{routine_id}

Request

  • Base URL
    https://api.musclewiki.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

routine_idinteger required

Routine ID

Query parameters

langstring nullable

Response language code (e.g. 'en-us', 'pt-br'). Defaults to 'en-us' when omitted. See GET /languages for the full list. Non-English languages require GROWTH tier or higher (BASIC keys get them in the Playground).

Response

Successful Response

idinteger required

Routine ID

namestring required

Routine name

slugstring required

URL-friendly slug

descriptionstring

Routine description

difficultystring nullable

Difficulty level

bodymap_malestring nullable

Always null. Bodymaps are an exercise feature; this field is kept so existing clients do not break.

bodymap_femalestring nullable

Always null. Bodymaps are an exercise feature; this field is kept so existing clients do not break.

Example response

{
  "description": "A 4-day split for beginners",
  "difficulty": "Beginner",
  "id": 1,
  "name": "Beginner Bodybuilder Routine",
  "slug": "beginner-bodybuilder-routine",
  "workouts": [
    {
      "id": 1,
      "name": "Beginner Bodybuilder - Chest and Shoulders",
      "slug": "beginner-bodybuilder-chest-and-shoulders"
    }
  ]
}

Changes