---
title: "POST /api/memory/collections"
method: POST
path: "/api/memory/collections"
tags: ["Memory"]
---

# POST /api/memory/collections

`POST /api/memory/collections`

## Request

- Base URL: `https://api.dunsocial.com`
- URL: `https://api.dunsocial.com/api/memory/collections`
- Auth: HTTP bearer

## Headers

- `X-Workspace-Id` string, required

## Request body

- CreateCollectionRequest
  - `name` string, required
  - `color` 'red' | 'orange' | 'yellow' | 'green' | 'teal' | 'blue' | 'purple' | 'pink'
  - `isPrivate` boolean

## Response `201`

Created

- SuccessEnvelope
  - `success` true, required
  - `data` unknown

## Other responses

- `400`: Validation or business rule failed

---

[API](https://skmtc.dev/dunsocial/apis/dunsocial-api.md) · [All operations](https://skmtc.dev/dunsocial/apis/dunsocial-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dunsocial/apis/dunsocial-api/revisions/3c586d59e76f?raw)
