---
title: "IronLedger program file checker (JSON body)"
method: POST
path: "/api/tools/program-file"
---

# IronLedger program file checker (JSON body)

`POST /api/tools/program-file`

## Request

- Base URL: `https://www.ironledger.app`
- URL: `https://www.ironledger.app/api/tools/program-file`
- Auth: none declared

## Request body

- object
  - `file` string, required: The whole program file as text. Canonical header: Week,Day,Exercise,Sets,Reps,Load,RPE,RIR,Rest,Notes, then one row per exercise, such as 1,Day 1,Squat,5,5,100 kg,8,,3:00,belt. Wrap a cell that contains a comma in double quotes; never use a double quote inside a cell.
  - `fileName` string: The file name it will be saved as, such as "Texas Method.csv". The app names the program after it; without one the program is called Imported Spreadsheet.

## Response `200`

The result, a one-line summary, the method used and a link to the same result on the site.

- object
  - `tool` string, required
  - `version` string
  - `summary` string, required
  - `result` object, required
  - `method` string
  - `url` string, uri, required

## Other responses

- `400`: An input is missing or out of range.
- `429`: Too many requests from this address.

---

[API](https://skmtc.dev/ironledger/apis/ironledger-strength-calculators-api.md) · [All operations](https://skmtc.dev/ironledger/apis/ironledger-strength-calculators-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ironledger/apis/ironledger-strength-calculators-api/revisions/265d7ad551b5?raw)
