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

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

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

CreateMemoShare creates a share link for a memo. Requires authentication as the memo creator.

## 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 — The resource name of the share. Format: memos/{memo}/shares/{share} The {share} segment is the opaque token used in the share URL.
  - `createTime` string, date-time — Output only. When this share link was created.
  - `expireTime` string, date-time — Optional. When set, the share link stops working after this time. 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 — The resource name of the share. Format: memos/{memo}/shares/{share} The {share} segment is the opaque token used in the share URL.
  - `createTime` string, date-time — Output only. When this share link was created.
  - `expireTime` string, date-time — Optional. When set, the share link stops working after this time. If unset, the link never expires.

## Other responses

- `default` — Default error response

---

[API](https://skmtc.net/usememos/apis/untitled-api.md) · [All operations](https://skmtc.net/usememos/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usememos/untitled-api/versions/f01e84cf5acc/schema)
