---
canonical_url: "https://docs.composio.dev/toolkits/hevy"
markdown_url: "https://docs.composio.dev/toolkits/hevy.md"
product: "platform"
version: null
last_updated: null
---

# Hevy

Hevy is a workout tracking platform for managing workouts, routines, exercises, and body measurements.

- **Category:** fitness
- **Auth:** API_KEY
- **Composio-managed OAuth available?** N/A
- **Tools:** 24
- **Triggers:** 0
- **Slug:** `HEVY`
- **Version:** 00000000_00

## Tools

### Count Workouts

**Slug:** `HEVY_COUNT_WORKOUTS`

Return the total number of workouts in the connected Hevy account without fetching workout records.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Body Measurement

**Slug:** `HEVY_CREATE_BODY_MEASUREMENT`

Log a body measurement for a date that does not already have one.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `date` | string | Yes | Measurement date in YYYY-MM-DD format; only one measurement may exist per date. |
| `measurements` | object | No | Measurement values to record. Omitted values are not sent; explicit null values are preserved. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Exercise Template

**Slug:** `HEVY_CREATE_EXERCISE_TEMPLATE`

Create a custom exercise template with its tracking type, equipment, and muscle groups in the connected Hevy account.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | Yes | Title of the custom exercise. |
| `muscle_group` | string ("abdominals" | "shoulders" | "biceps" | "triceps" | "forearms" | "quadriceps" | "hamstrings" | "calves" | "glutes" | "abductors" | "adductors" | "lats" | "upper_back" | "traps" | "lower_back" | "chest" | "cardio" | "neck" | "full_body" | "other") | Yes | Primary muscle group worked by the exercise. |
| `exercise_type` | string ("weight_reps" | "reps_only" | "bodyweight_reps" | "bodyweight_assisted_reps" | "duration" | "weight_duration" | "distance_duration" | "short_distance_weight") | Yes | Metric pattern used to track sets for this exercise. |
| `other_muscles` | array | No | Optional secondary muscle groups worked by the exercise. |
| `equipment_category` | string ("none" | "barbell" | "dumbbell" | "kettlebell" | "machine" | "plate" | "resistance_band" | "suspension" | "other") | Yes | Equipment category used for the exercise. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Routine

**Slug:** `HEVY_CREATE_ROUTINE`

Create a workout routine with an optional folder, notes, exercises, rest times, and planned sets in the connected Hevy account.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `notes` | string | No | Additional notes for the routine. |
| `title` | string | No | Routine title. |
| `exercises` | array | No | Exercises and planned sets in routine order. |
| `folder_id` | integer | No | Routine folder ID, or null for the default My Routines folder. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Routine Folder

**Slug:** `HEVY_CREATE_ROUTINE_FOLDER`

Create a routine folder at the beginning of the user's folder list.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | No | Title for the new routine folder. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Workout

**Slug:** `HEVY_CREATE_WORKOUT`

Log a completed workout with its timing, exercises, and performed sets in the connected Hevy account.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | Yes | Title of the completed workout. |
| `end_time` | string | Yes | ISO 8601 timestamp when the workout ended. |
| `exercises` | array | Yes | Exercises and performed sets in workout order. |
| `is_private` | boolean | No | Whether the workout should be private. |
| `start_time` | string | Yes | ISO 8601 timestamp when the workout started. |
| `description` | string | No | Optional workout description. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Body Measurement

**Slug:** `HEVY_GET_BODY_MEASUREMENT`

Return the body measurement recorded on one calendar date.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `date` | string | Yes | Measurement date in YYYY-MM-DD format, obtainable from List Body Measurements. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Exercise History

**Slug:** `HEVY_GET_EXERCISE_HISTORY`

Return logged set history for one exercise template, optionally bounded by start and end timestamps.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `end_date` | string | No | Optional inclusive ISO 8601 upper bound for workout time. |
| `start_date` | string | No | Optional inclusive ISO 8601 lower bound for workout time. |
| `exercise_template_id` | string | Yes | Exercise template ID whose logged set history to return. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Exercise Template

**Slug:** `HEVY_GET_EXERCISE_TEMPLATE`

Return one built-in or custom exercise template by its template ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `exercise_template_id` | string | Yes | Exercise template ID, obtainable from List Exercise Templates or workout/routine records. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Routine

**Slug:** `HEVY_GET_ROUTINE`

Return one routine and its full exercise and planned-set details by its Hevy routine ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `routine_id` | string | Yes | Hevy routine ID, obtainable from List Routines. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Routine Folder

**Slug:** `HEVY_GET_ROUTINE_FOLDER`

Return one routine folder by its numeric Hevy folder ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `folder_id` | integer | Yes | Numeric routine folder ID, obtainable from List Routine Folders. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get User Info

**Slug:** `HEVY_GET_USER_INFO`

Return the connected Hevy user's identity, profile URL, unit preferences, and Pro status.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Workout

**Slug:** `HEVY_GET_WORKOUT`

Return complete details for one workout by its Hevy workout ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `workout_id` | string | Yes | Hevy workout ID, obtainable from List Workouts or List Workout Events. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Body Measurements

**Slug:** `HEVY_LIST_BODY_MEASUREMENTS`

Return one page of dated body measurements and progress-picture URLs for the connected user.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page_size` | integer | No | Maximum body measurements to return in this page (1-10). |
| `next_cursor` | string | No | Continuation cursor returned by a previous call; omit for the first page. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Exercise Templates

**Slug:** `HEVY_LIST_EXERCISE_TEMPLATES`

Return one page of built-in and custom exercise templates available to the connected user.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page_size` | integer | No | Maximum exercise templates to return in this page (1-100). |
| `next_cursor` | string | No | Continuation cursor returned by a previous call; omit for the first page. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Routines

**Slug:** `HEVY_LIST_ROUTINES`

Return one page of the connected user's workout routines, including exercise and set plans.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page_size` | integer | No | Maximum routines to return in this page (1-10). |
| `next_cursor` | string | No | Continuation cursor returned by a previous call; omit for the first page. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Routine Folders

**Slug:** `HEVY_LIST_ROUTINE_FOLDERS`

Return one page of folders used to organize the connected user's routines.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page_size` | integer | No | Maximum routine folders to return in this page (1-10). |
| `next_cursor` | string | No | Continuation cursor returned by a previous call; omit for the first page. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Workouts

**Slug:** `HEVY_LIST_WORKOUTS`

Return one page of the connected user's workouts, including exercises, sets, media, and a continuation cursor.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page_size` | integer | No | Maximum workouts to return in this page (1-10). |
| `next_cursor` | string | No | Continuation cursor returned by a previous call; omit for the first page. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Workout Events

**Slug:** `HEVY_LIST_WORKOUT_EVENTS`

Return one page of workout update and deletion events since an optional timestamp, newest first.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `since` | string | No | Return events at or after this ISO 8601 timestamp. |
| `page_size` | integer | No | Maximum events to return on this page (1-10). |
| `next_cursor` | string | No | Continuation cursor from a previous call; omit for the first page. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Body Measurement

**Slug:** `HEVY_UPDATE_BODY_MEASUREMENT`

Overwrite the complete body measurement for an existing date. This is not a partial update: Hevy clears every omitted measurement field to null, so include every value that must be preserved.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `date` | string | Yes | Date of the existing measurement to overwrite, in YYYY-MM-DD format. |
| `measurements` | object | Yes | Complete desired measurement values. Hevy clears every omitted field to null, so include every value that must be preserved. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Routine

**Slug:** `HEVY_UPDATE_ROUTINE`

Update selected details of an existing routine, including its folder, notes, exercises, rest times, and planned sets. Omitted fields remain unchanged; an explicit null clears nullable values.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `notes` | string | No | Replacement routine notes. Send null to clear the notes. |
| `title` | string | No | Replacement routine title when provided. |
| `exercises` | array | No | Replacement ordered exercise plan when provided. |
| `folder_id` | integer | No | Replacement folder ID. Send null to move the routine to My Routines. |
| `routine_id` | string | Yes | Hevy ID of the routine to update. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Workout

**Slug:** `HEVY_UPDATE_WORKOUT`

Replace the editable details, exercises, and sets of an existing workout. This is a full workout update, so provide the complete replacement exercise list.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `title` | string | Yes | Replacement workout title. |
| `end_time` | string | Yes | Replacement ISO 8601 timestamp when the workout ended. |
| `exercises` | array | Yes | Replacement exercises and performed sets in workout order. |
| `is_private` | boolean | No | Whether the updated workout is private. Defaults to false when omitted. |
| `start_time` | string | Yes | Replacement ISO 8601 timestamp when the workout started. |
| `workout_id` | string | Yes | Hevy ID of the workout to update. |
| `description` | string | No | Replacement workout description. Send null for no description. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Upload Body Measurement Image

**Slug:** `HEVY_UPLOAD_BODY_MEASUREMENT_IMAGE`

Upload or replace the progress picture for an existing dated body measurement.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `date` | string | Yes | Date of the existing body measurement, in YYYY-MM-DD format. |
| `image` | object | Yes | JPEG, PNG, or WebP progress image up to 10 MB and 50 megapixels. |
| `content_type` | string ("image/jpeg" | "image/png" | "image/webp") | Yes | MIME type matching the uploaded image bytes. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Upload Workout Image

**Slug:** `HEVY_UPLOAD_WORKOUT_IMAGE`

Append one JPEG, PNG, or WebP image to an existing workout. Hevy converts and resizes the image and allows at most three media items per workout.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `image` | object | Yes | JPEG, PNG, or WebP image up to 10 MB and 50 megapixels. |
| `workout_id` | string | Yes | Hevy ID of the workout that will receive the image. |
| `content_type` | string ("image/jpeg" | "image/png" | "image/webp") | Yes | MIME type matching the uploaded image bytes. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
