---
title: "List segment members"
description: "Retrieve the contacts in a segment, cursor-paginated. `GET /api/v1/segments/{id}/contacts`"
url: https://www.unitpost.com/docs/platform/get-segments-id-contacts
section: "Platform API reference"
updated: 2026-11-17
---
# List segment members

`GET /api/v1/segments/{id}/contacts`

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

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | — |
| `limit` | query | integer | no | Max rows to return (default 20, max 100). |
| `after` | query | string | no | Return rows after this id (forward paging). |
| `before` | query | string | no | Return rows before this id (backward paging). |

## Response fields (200)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `object` | string | yes | — |
| `contact_id` | string | yes | — |
| `subscribed` | boolean | yes | — |
| `unsubscribed_at` | string \| null | yes | — |

## Responses

| Status | Description |
| --- | --- |
| 200 | A page of segment members. |
| 401 | Missing or invalid API key. |
| 404 | Segment not found. |
| 422 | Invalid pagination params. |

## Example request

```bash
curl -X GET 'https://www.unitpost.com/api/v1/segments/seg_123/contacts' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'User-Agent: my-app/1.0'
```

## Example response (200)

```json
{
  "object": "list",
  "has_more": false,
  "data": [
    {
      "object": "segment_member",
      "contact_id": "contact_123",
      "subscribed": false,
      "unsubscribed_at": "2026-01-01T00:00:00.000Z"
    }
  ]
}
```

## Links

- HTML reference (with Node.js, Python, Ruby, PHP, Laravel, Go, Java, Rust, .NET and CLI examples): https://www.unitpost.com/docs/platform/get-segments-id-contacts
- OpenAPI 3.1 (full schemas): https://www.unitpost.com/api/v1/openapi.json
