---
title: "SegmentCollection"
description: "<p>Segment Collections are grouped/named lists of segments.</p><p>Segments that participate in a collection such as **Goals**</p><p>are related.  The Lytics App ui has one predefined collection</p><p>called **Goals** which defines the main funnel of user</p><p>conversions for your company.  Definining this helps our</p><p>Machine Learning understand goals.</p><p>In addition, the Lytics App has a variety of collections for</p><p>*Aspects* on the home page/reporting which are collections of segments</p><p>on related themes.</p><p>* *Email* Collection of aspects related to email behavior.</p><p>* *Web* A variety of aspects of web users.</p><p>* *Ecommerce*</p>"
url: "https://www.contentstack.com/docs/developers/apis/lytics-api/v1/segmentcollection"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-11-05"
---

# SegmentCollection

Segment Collections are grouped/named lists of segments.

Segments that participate in a collection such as \*\*Goals\*\*

are related. The Lytics App ui has one predefined collection

called \*\*Goals\*\* which defines the main funnel of user

conversions for your company. Definining this helps our

Machine Learning understand goals.

In addition, the Lytics App has a variety of collections for

\*Aspects\* on the home page/reporting which are collections of segments

on related themes.

\* \*Email\* Collection of aspects related to email behavior.

\* \*Web\* A variety of aspects of web users.

\* \*Ecommerce\*

## SegmentCollectionList

### SegmentCollectionList

**GET** `/api/segmentcollection`

Get list \*\*Segment Collections\*\*

#### Query Parameters

- **account_id** (optional)
  Your Lytics account ID.
- **sideload** (optional)
  should segments for collection should be sideloaded

#### Headers

- **Authorization** (optional)

#### Sample Response

```json
null
```

## SegmentCollection Create

### SegmentCollection Create

**POST** `/api/segmentcollection`

Create a new SegmentCollection from existing segments.

#### Query Parameters

- **account_id** (optional)
  Your Lytics account ID.
- **sideload** (optional)
  should segments for collection should be sideloaded

#### Headers

- **Authorization** (optional)

#### Sample Response

```json
null
```

## SegmentCollection Fetch

### SegmentCollection Fetch

**GET** `/api/segmentcollection/{id}`

Fetch a segment collection by \*\*id\*\* or \*\*slug\*\*

#### URL Parameters

- **id** (required)
  id of segment collection

#### Query Parameters

- **account_id** (optional)
  Your Lytics account ID.
- **sideload** (optional)
  should segments for collection should be sideloaded

#### Headers

- **Authorization** (optional)

#### Sample Response

```json
null
```

## SegmentCollection Update

### SegmentCollection Update

**PUT** `/api/segmentcollection/{id}`

Update a SegmentCollection

#### URL Parameters

- **id** (required)
  id of segment collection

#### Query Parameters

- **account_id** (optional)
  Your Lytics account ID.
- **sideload** (optional)
  should segments for collection should be sideloaded

#### Headers

- **Authorization** (optional)

#### Sample Response

```json
null
```

## SegmentCollection Delete

### SegmentCollection Delete

**DELETE** `/api/segmentcollection/{id}`

Delete a SegmentCollection model.

#### URL Parameters

- **id** (required)
  ID of the SegmentCollection model to delete.

#### Query Parameters

- **account_id** (optional)
  Your Lytics account ID.

#### Headers

- **Authorization** (optional)

#### Sample Response

```json
No Content
```