---
title: "Get Classes"
method: GET
path: "/api/v1/record/get_classes"
tags: ["record"]
---

# Get Classes

`GET /api/v1/record/get_classes`

## Request

- Base URL: `https://api.pro-ledger.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pro-ledger.com/api/v1/record/get_classes`
- Auth: API key in header `X-API-Key`

Get classes setup information

## Query parameters

- `transactionType` 'Income' | 'Expense' | 'Transfer' | 'Cost of Goods Sold'

## Response `200`

Successful Response

- ISetupResponse[]
  - `key` string, required
  - `label` string, required
  - `id` union, required
    - string
    - integer

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pro-ledger/apis/proledger-api.md) · [All operations](https://skmtc.dev/pro-ledger/apis/proledger-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pro-ledger/apis/proledger-api/revisions/e265c919db43?raw)
