---
title: "Create Classification"
method: POST
path: "/public/v1/classifications/"
tags: ["Classifications"]
---

# Create Classification

`POST /public/v1/classifications/`

Create a classification dimension used to tag and analyze transactions across multiple dimensions.

## Headers

- `Idempotency-Key` string

## Request body

- PublicClassificationSchemaCreateIn
  - `id` integer, nullable
  - `name` string, required
  - `is_active` boolean, required
  - `selections` PublicSelectionItemIn[], required
    - `id` integer, nullable
    - `name` string, required
    - `is_active` boolean, required
    - `parent_id` integer, nullable, required
  - `required_for_records` PublicClassifiableRecords[], required
  - `parent_id` integer, nullable, required

## Response `201`

Created

- PublicClassificationSchemaOut
  - `created_at` string, date-time, required — Date and time the record was created
  - `updated_at` string, date-time, required — Date and time the record was last updated
  - `created_by` AuditActorSchemaOut — Schema for audit actor information.
    - `actor_type` string, nullable
    - `email` string, nullable
    - `first_name` string, nullable
    - `last_name` string, nullable
    - `timestamp` string, date-time, nullable
  - `updated_by` AuditActorSchemaOut — Schema for audit actor information.
    - `actor_type` string, nullable
    - `email` string, nullable
    - `first_name` string, nullable
    - `last_name` string, nullable
    - `timestamp` string, date-time, nullable
  - `id` integer, required
  - `selections` PublicSelectionItemOut[], required
    - `id` integer, required
    - `name` string, required
    - `is_active` boolean, required
    - `parent_id` integer, nullable, required
    - `parent_name` string, nullable, required
  - `required_for_records` PublicClassifiableRecords[], required
  - `parent_id` integer, nullable, required
  - `parent_name` string, nullable, required
  - `name` string, required
  - `is_active` boolean

## Other responses

- `422` — Unprocessable Content
- `500` — Internal Server Error

## Changes

> 14 revisions in range; 11 could not be searched.

- **2026-07-26** `51b71d2b9213` — 1 warning, 1 info
  - added the new `statistical_journal` enum value to the `required_for_records/items/` response property for the response status `201`
  - added the new `statistical_journal` enum value to the request property `required_for_records/items/`

[Change history](https://skmtc.dev/dualentry/apis/dualentry-public-api-2/changes/public/v1/classifications/post.md)

---

[API](https://skmtc.dev/dualentry/apis/dualentry-public-api-2.md) · [All operations](https://skmtc.dev/dualentry/apis/dualentry-public-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dualentry/dualentry-public-api-2/revisions/d0cd912ee42d/schema)
