---
title: "Create a new segment"
method: POST
path: "/api/segments"
tags: ["Segments"]
---

# Create a new segment

`POST /api/segments`

## Request body

- CreateSegmentDto
  - `name` string, required — Segment name
  - `description` string — Segment description
  - `domainId` string, required — Domain ID this segment belongs to

## Response `201`

Segment created successfully

## Other responses

- `400` — Invalid input
- `401` — Unauthorized

---

[API](https://skmtc.net/navistone/apis/zazmic-platform-api.md) · [All operations](https://skmtc.net/navistone/apis/zazmic-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/navistone/zazmic-platform-api/versions/e2454b713133/schema)
