> ## Documentation index
> Fetch the complete documentation index at: https://workover.io/docs/llms.txt

# List segments

GET`/workspace/{orgId}/contact-segments`

The workspace’s saved segments by name, each with its kind (dynamic or manual), its rules, its member count, and warnings for rules on things archived since. `archived=true` lists archived ones too.

## Path Parameters

`orgId`

numberrequired

## Response

200

**cURL**

```bash
curl --request GET \
  --url 'https://api.workover.io/workspace/{orgId}/contact-segments'
```

**JavaScript**

```javascript
const options = {
  method: 'GET'
};

fetch('https://api.workover.io/workspace/{orgId}/contact-segments', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

**Python**

```python
import requests

url = "https://api.workover.io/workspace/{orgId}/contact-segments"

response = requests.get(url)

print(response.text)
```
