---
title: "Get Segment for Partner"
method: GET
path: "/v2/customer-segments/partners/{partner_id}"
tags: ["customer-segments"]
---

# Get Segment for Partner

`GET /v2/customer-segments/partners/{partner_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/partners/{partner_id}`
- Auth: HTTP bearer

Returns the customer segment that the specified partner belongs to,
based on priority-based exclusivity, including attached workflows.

## Path parameters

- `partner_id` string, required

## Response `200`

Successful Response

- CustomerSegmentWithWorkflows
  - `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
  - `workflows` OutreachWorkflowSummary[], required
    - `created_at` string, date-time, required
    - `modified_at` string, date-time, required
    - `id` string, required
    - `name` string, required: The name of the workflow
    - `is_active` boolean, required
    - `object` string, required: String representing the object's type. Objects of the same type share the same value.
  - `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)
