---
title: "POST /api/exercise/{exerciseCode}/instructions"
method: POST
path: "/api/exercise/{exerciseCode}/instructions"
tags: ["Exercise"]
---

# POST /api/exercise/{exerciseCode}/instructions

`POST /api/exercise/{exerciseCode}/instructions`

## 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/{exerciseCode}/instructions`
- Auth: HTTP bearer

## Path parameters

- `exerciseCode` string, required

## Request body

- ExerciseInstructionRequest
  - `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

## 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)
