Routines
Update an existing routine
put/v1/routines/{routineId}
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/{routineId}
- Auth: none declared. Required headers: api-key
Path parameters
The id of the routine
Headers
api-keystring uuid required
Request body
Example request
{
"routine": {
"title": "April Leg Day 🔥",
"notes": "Focus on form over weight. Remember to stretch.",
"exercises": [
{
"exercise_template_id": "D04AC939",
"rest_seconds": 90,
"notes": "Stay slow and controlled.",
"sets": [
{
"type": "normal",
"weight_kg": 100,
"reps": 10,
"rep_range": {
"start": 8,
"end": 12
}
}
]
}
]
}
}Response
The routine was successfully updated
Example response
{
"routine": {
"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.