> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sequenzy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Segment Count

> Preview the active subscriber count for a segment

Get the number of active subscribers who currently match a saved segment.

## Request

<ParamField path="segmentId" type="string" required>
  Segment ID.
</ParamField>

```bash theme={null}
curl "https://api.sequenzy.com/api/v1/segments/seg_active_non_buyers/count" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Responses

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "segmentId": "seg_active_non_buyers",
    "count": 1180
  }
  ```

  ```json 401 theme={null}
  {
    "success": false,
    "error": "Unauthorized"
  }
  ```

  ```json 404 theme={null}
  {
    "success": false,
    "error": "Segment not found"
  }
  ```
</ResponseExample>
