---
title: "Get a Customer Segment"
method: GET
path: "/v2/customer-segments/{segment_id}"
tags: ["customer-segments"]
---

# Get a Customer Segment

`GET /v2/customer-segments/{segment_id}`

## Request

- Base URL: `https://api.stuut.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stuut.ai/v2/customer-segments/{segment_id}`
- Auth: HTTP bearer

Returns a customer segment by ID.

## Path parameters

- `segment_id` string, required

## Response `200`

Successful Response

- CustomerSegment
  - `created_at` string, date-time, required
  - `modified_at` string, date-time, nullable, required
  - `id` string, required
  - `name` string, required: The name of the segment (case-insensitive unique per org).
  - `description` string, nullable, required: Optional description of what this segment represents.
  - `priority` integer, required: Lower number = higher priority for conflict resolution when partner matches multiple segments.
  - `conditions` object, nullable, required: Rules that determine which partners belong to this segment.
  - `partner_count` integer, nullable, required: Cached number of partners matching this segment.
  - `partner_count_refreshed_at` string, date-time, required
  - `object` string, required: String representing the object's type. Objects of the same type share the same value.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/stuut/apis/stuut-api.md) - [All operations](https://skmtc.dev/stuut/apis/stuut-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stuut/apis/stuut-api/revisions/ff0ad16a55ff?raw)
