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

# POST /api/memory

`POST /api/memory`

## Request

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

## Headers

- `X-Workspace-Id` string, required

## Request body

- SaveMemoryRequest
  - `text` string, required
  - `collectionId` string, required

## Response `201`

Saved

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

---

[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)
