---
title: "Create Memory"
method: POST
path: "/admin/memories"
tags: ["admin", "memories"]
---

# Create Memory

`POST /admin/memories`

## Request

- Base URL: `https://api-docs.upsmith.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.upsmith.com/admin/memories`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Create a new organization-owned memory.

- ORGANIZATION: Org-wide memories for Agents V2 (scope_id = org ID, organization_id required)
- ORGANIZATION_ASK_JENNY: Org-wide memories for Ask Jenny (scope_id = org ID, organization_id required)
- USER: Employee-specific memories (scope_id = user ID, organization_id required)
- CUSTOMER: Contact-specific memories (scope_id = contact ID, organization_id required)

## Headers

- `organization-id` string, nullable
- `timezone` string
- `x-user-id` string, nullable
- `x-actor-email` string, nullable
- `x-request-source` string, nullable
- `x-operation-id` string, nullable
- `x-commit-message` string, nullable
- `x-confirmation-id` string, nullable
- `x-chat-id` string, nullable

## Request body

- CreateMemoryRequest
  - `content` string, required: The memory content to store
  - `category` string, nullable: Category label (e.g. scheduling_preference, org_policy)
  - `level` string: Memory level: ORGANIZATION, ORGANIZATION_ASK_JENNY, USER, or CUSTOMER
  - `scope_id` string, nullable: Contact ID for CUSTOMER level, User ID for USER level, Organization ID for ORGANIZATION / ORGANIZATION_ASK_JENNY levels
  - `organization_id` string, nullable: Organization ID for non-GLOBAL memories

## Response `200`

Successful Response

- MemoryResponse
  - `id` string, required
  - `level` string, required
  - `scope_id` string, nullable, required
  - `organization_id` string, nullable, required
  - `content` string, required
  - `category` string, nullable, required
  - `valid_from` string, nullable, required
  - `valid_until` string, nullable, required
  - `created_by` string, required
  - `created_at` string, required
  - `updated_at` string, required
  - `source_engagement_id` string, nullable, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/upsmith/apis/upsmith-api.md) - [All operations](https://skmtc.dev/upsmith/apis/upsmith-api/llms.txt) - [OpenAPI document](https://skmtc.dev/upsmith/apis/upsmith-api/revisions/86e2c2bd93af?raw)
