---
title: "POST /api/users/{user}/views"
method: POST
path: "/api/users/{user}/views"
tags: ["UserService"]
---

# POST /api/users/{user}/views

`POST /api/users/{user}/views`

## Request

- The document declares no server URL.
- Auth: none declared

CreateMemoView creates a memo view for a user. Only the user may call it.

## Path parameters

- `user` string, required

## Query parameters

- `validateOnly` boolean

## Request body

- MemoView: MemoView is a user's saved memo filter.
  - `name` string: Identifier. The resource name of the memo view. Format: users/{user}/views/{view}
  - `title` string, required: Required. The title of the memo view.
  - `filter` string, required: Required. The CEL filter expression for the memo view, using the same grammar as the ListMemos `filter` argument. Reuse it by passing this value to ListMemos.
  - `icon` MemoViewIcon
    - `emoji` string: A Unicode emoji sequence.
    - `lucide` string: A canonical Lucide icon name, such as "leaf".

## Response `200`

OK

- MemoView: MemoView is a user's saved memo filter.
  - `name` string: Identifier. The resource name of the memo view. Format: users/{user}/views/{view}
  - `title` string, required: Required. The title of the memo view.
  - `filter` string, required: Required. The CEL filter expression for the memo view, using the same grammar as the ListMemos `filter` argument. Reuse it by passing this value to ListMemos.
  - `icon` MemoViewIcon
    - `emoji` string: A Unicode emoji sequence.
    - `lucide` string: A canonical Lucide icon name, such as "leaf".

## Other responses

- `default`: Default error response

## Changes

- **2026-10-08** `1846a777b0ef`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/usememos/apis/untitled-api/changes/api/users/:user/views/post.md)

---

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