---
title: "List segment members"
method: GET
path: "/segments/{id}/contacts"
tags: ["Segments"]
---

# List segment members

`GET /segments/{id}/contacts`

## Request

- Base URL: `https://www.unitpost.com/api/v1`
- URL: `https://www.unitpost.com/api/v1/segments/{id}/contacts`
- Auth: HTTP bearer

Retrieve the contacts in a segment, cursor-paginated. Add a contact with [Add a member](#post-segments-id-contacts) or take one out with [Remove a member](#delete-segments-id-contacts-contact). Requires the `segments:read` capability.

## Query parameters

- `limit` integer
- `after` string
- `before` string

## Response `200`

A page of segment members.

- object
  - `object` 'list', required
  - `has_more` boolean, required
  - `data` SegmentMember[], required
    - `object` 'segment_member', required
    - `contact_id` string, required
    - `subscribed` boolean, required
    - `unsubscribed_at` string, nullable, required

## Other responses

- `401`: Missing or invalid API key.
- `404`: Segment not found.
- `422`: Invalid pagination params.

---

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