---
title: "Create Custom Domain Classification"
method: POST
path: "/classifications/domains"
tags: ["Project"]
---

# Create Custom Domain Classification

`POST /classifications/domains`

Define a new custom domain classification for a project. Once created, it can be assigned to domains via the assignment endpoint.

## Request body

- object
  - `project_id` string — Required if using a company api key
  - `name` string, required
  - `color` 'orange' | 'red' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose' | 'gray'

## Response `201`

Custom domain classification created

- object — Custom domain classification created
  - `name` string, required
  - `color` string, required

## Other responses

- `409` — Response for status 409

---

[API](https://skmtc.net/peec/apis/peec-ai-customer-api.md) · [All operations](https://skmtc.net/peec/apis/peec-ai-customer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/peec/peec-ai-customer-api/versions/92840a1bffa7/schema)
