---
title: "Open a password-protected file share link"
method: POST
path: "/v1/shared-assets/{token}/unlock"
tags: ["shared-assets"]
---

# Open a password-protected file share link

`POST /v1/shared-assets/{token}/unlock`

## Request

- Base URL: `https://api.patricia.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.patricia.app/v1/shared-assets/{token}/unlock`
- Auth: one of:
  - HTTP bearer
  - none

## Path parameters

- `token` string, required: The share link's capability token.

## Request body

- SharedAssetUnlock
  - `password` string, required

## Response `200`

Successful Response

- SharedAssetGrant
  - `grant` string, required
  - `expires_at` string, date-time, required

## Other responses

- `401`: Unauthorized
- `404`: Not Found
- `422`: Unprocessable Content
- `429`: Too Many Requests

---

[API](https://skmtc.dev/patricia/apis/patricia-api.md) · [All operations](https://skmtc.dev/patricia/apis/patricia-api/llms.txt) · [OpenAPI document](https://skmtc.dev/patricia/apis/patricia-api/revisions/0dfb44495ea1?raw)
