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

# Create Classification

`POST /v1/classifications`

## Request

- Base URL: `https://api.branchly.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.branchly.io/v1/classifications`
- Auth: HTTP bearer

## Request body

- ClassificationDefinitionAPICreate: API model for creating a classification definition.
  - `application_id` string, uuid, required
  - `type` 'topic' | 'intent', required: Type of classification.
  - `name` string, required
  - `description` string, nullable: Human-readable description of what this topic/intent means and when the AI should assign it.
  - `locales` object: Frontend display labels keyed by locale code (e.g. {'en': 'Billing', 'de': 'Abrechnung'}).
  - `status` 'active' | 'suggestion' | 'denied' | 'deleted': Status of a classification definition.

## Response `201`

Successful Response

- ClassificationDefinitionAPI: API response model for classification definition.
  - `id` string, uuid, required
  - `application_id` string, uuid, required
  - `type` 'topic' | 'intent', required: Type of classification.
  - `name` string, required
  - `description` string, nullable, required
  - `locales` object
  - `status` 'active' | 'suggestion' | 'denied' | 'deleted', required: Status of a classification definition.
  - `created_by` union, required
    - string, email
    - 'system'
    - 'mcp-agent'
  - `updated_by` union, required
    - string, email
    - 'system'
    - 'mcp-agent'
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/branchly/apis/branchly-io-api.md) · [All operations](https://skmtc.dev/branchly/apis/branchly-io-api/llms.txt) · [OpenAPI document](https://skmtc.dev/branchly/apis/branchly-io-api/revisions/9ffb024f8ec8?raw)
