---
title: "SegmentCollection Create"
method: POST
path: "/api/segmentcollection"
tags: ["SegmentCollection"]
---

# SegmentCollection Create

`POST /api/segmentcollection`

## Request

- Base URL: `https://api.lytics.io`
- URL: `https://api.lytics.io/api/segmentcollection`
- Auth: API key in header `Authorization`

Create a new SegmentCollection from existing segments.

## Query parameters

- `account_id` string
- `sideload` boolean

## Request body

- object
  - `name` string
  - `collection` object[]
    - `id` string, required
    - `order` number, required

## Response `201`

Created

- unknown

---

[API](https://skmtc.dev/lytics/apis/v1-lytics-api.md) - [All operations](https://skmtc.dev/lytics/apis/v1-lytics-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lytics/apis/v1-lytics-api/revisions/339fd1d88486?raw)
