---
title: "Get segments"
method: GET
path: "/lists/{list_id}/segments"
tags: ["Lists"]
---

# Get segments

`GET /lists/{list_id}/segments`

Retrieve all segments created in a specific list.

## Path parameters

- `list_id` integer, required

## Response `200`

OK

- object
  - `segments` object
    - `5c36008811e45` object
      - `name` string
      - `id` string
      - `count` integer
    - `5cbf2405a77ce` object
      - `name` string
      - `id` string
      - `count` integer

## Other responses

- `404` — Not Found

---

[API](https://skmtc.dev/ecomail/apis/ecomail-api.md) · [All operations](https://skmtc.dev/ecomail/apis/ecomail-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ecomail/ecomail-api/revisions/31b5789931fe/schema)
