---
title: "POST /api/memos/{memo}/shares"
method: POST
path: "/api/memos/{memo}/shares"
tags: ["MemoService"]
---

# POST /api/memos/{memo}/shares

`POST /api/memos/{memo}/shares`

## Request

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

CreateMemoShare creates a share link for a memo. Requires the memo creator
 or an instance administrator. Only active memos without SPACE visibility
 can be shared.

## Path parameters

- `memo` string, required

## Request body

- MemoShare: MemoShare is an access grant that permits read-only access to a memo via an opaque bearer token.
  - `name` string: Identifier. The resource name of the share. The {share} segment is the opaque token used in the share URL. Format: memos/{memo}/shares/{share}
  - `createTime` string, date-time: Output only. The creation time.
  - `expireTime` string, date-time: Optional. The time after which the share link stops working. Must be in the future when set. If unset, the link never expires.

## Response `200`

OK

- MemoShare: MemoShare is an access grant that permits read-only access to a memo via an opaque bearer token.
  - `name` string: Identifier. The resource name of the share. The {share} segment is the opaque token used in the share URL. Format: memos/{memo}/shares/{share}
  - `createTime` string, date-time: Output only. The creation time.
  - `expireTime` string, date-time: Optional. The time after which the share link stops working. Must be in the future when set. If unset, the link never expires.

## 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/memos/:memo/shares/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)
