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

# Export a segment’s members

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

Its members as CSV: email, name, external\_id, one column per attribute that is not archived, created\_at and last\_seen\_at. A text cell that a spreadsheet would read as a formula starts with a single quote. Owners and admins.

## Path Parameters

`orgId`

numberrequired

`id`

numberrequired

## Response

200

**cURL**

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

**JavaScript**

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

fetch('https://api.workover.io/workspace/{orgId}/contact-segments/{id}/export', 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/{id}/export"

response = requests.get(url)

print(response.text)
```
