---
title: "Create new share link"
method: POST
path: "/shares"
tags: ["Share Management"]
---

# Create new share link

`POST /shares`

Create a new share link.

## Request body

- ShareCreate — Share without id which is server-generated.
  - `resource_id` string, uuid, required
  - `user_id` string, uuid
  - `expiration_dt` string, date-time
  - `is_revoked` boolean

## Response `200`

OK

## Other responses

- `400` — Missing Required Information

---

[API](https://skmtc.net/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api.md) · [All operations](https://skmtc.net/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pai-os/personal-artificial-intelligence-operating-system-pai-os-api/revisions/3c144b366e19/schema)
