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

# Create a segment

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

A dynamic segment, {"name", "kind": "dynamic", "definition": {"match": "all", "filters": \[...\]}}, computed before this answers; or a manual one, {"name", "kind": "manual"}, that people are added to. Owners and admins.

## Path Parameters

`orgId`

numberrequired

## Response

201

**cURL**

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

**JavaScript**

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

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.post(url)

print(response.text)
```
