---
title: "POST /api/exercise"
method: POST
path: "/api/exercise"
tags: ["Exercise"]
---

# POST /api/exercise

`POST /api/exercise`

## Request

- Base URL: `https://api.justgains.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.justgains.com/api/exercise`
- Auth: HTTP bearer

## Query parameters

- `localeCode` string

## Request body

- ExerciseRequest
  - `ExerciseCode` string, nullable, required
  - `ExerciseTypeCode` string, nullable
  - `PublishStatusCode` string, nullable
  - `Difficulty` integer, nullable
  - `TechnicalComplexity` integer, nullable
  - `MetabolicEquivalent` number, float, nullable
  - `IsPlateloaded` boolean
  - `IsCardio` boolean
  - `OlympicRating` integer, nullable
  - `PowerLifterRating` integer, nullable
  - `CalisthenicRating` integer, nullable
  - `PopularityRating` integer, nullable
  - `MuscleStimulus` number, float, nullable
  - `IsPlyometric` boolean
  - `IsIsometric` boolean
  - `IsCalisthenic` boolean
  - `IsWeighted` boolean
  - `IsUnilateral` boolean
  - `IsBodyweight` boolean
  - `AdminNotes` string, nullable
  - `ExerciseTranslations` ExerciseTranslationDto[], nullable
    - `LocaleCode` string, nullable
    - `ExerciseName` string, nullable
    - `IsPrimary` boolean
  - `ExerciseEquipment` ExerciseEquipmentDto
    - `Required` string[], nullable
    - `Optional` string[], nullable
  - `ExerciseVideos` ExerciseVideoDto[], nullable
    - `MediaElement` MediaAssetDto
      - `MediaAssetId` string, uuid, nullable
      - `FileName` string, nullable, required
      - `FilePath` string, nullable, required
      - `FileSize` string, nullable
      - `FileFormat` string, nullable
      - `Description` string, nullable
    - `SortOrder` integer
  - `ExerciseInstructions` ExerciseInstructionRequest[], nullable
    - `LocaleCode` string, nullable, required
    - `InstructionJSON` ExerciseInstructionData
      - `Time` integer, nullable
      - `Version` string, nullable
      - `Blocks` Block[], nullable
        - `Id` string, nullable
        - `Type` string, nullable
        - `Data` Data
          - `Text` string, nullable
  - `ExerciseMuscles` ExerciseMuscleDto[], nullable
    - `MuscleCode` string, nullable, required
    - `IsPrimary` boolean
    - `TargetPercentage` number, double

## Response `200`

OK

---

[API](https://skmtc.dev/justgains/apis/justgains-api.md) · [All operations](https://skmtc.dev/justgains/apis/justgains-api/llms.txt) · [OpenAPI document](https://skmtc.dev/justgains/apis/justgains-api/revisions/760a5b1773a7?raw)
