---
title: "Make a link to one of this account's plugins"
method: POST
path: "/v1/plugins/shares"
tags: ["Plugins"]
---

# Make a link to one of this account's plugins

`POST /v1/plugins/shares`

## Request

- Base URL: `https://api.uxduck.com`
- URL: `https://api.uxduck.com/v1/plugins/shares`
- Auth: HTTP bearer

The bundle must be uploaded first. Nothing shared is reviewed by UXDuck.

## Request body

- object
  - `pluginId` string, required
  - `name` string, required
  - `version` string, required
  - `digest` string, required
  - `capabilities` string[], required

## Response `201`

The link

- object
  - `token` string, required
  - `pluginId` string, required
  - `name` string, required
  - `version` string, required
  - `digest` string, required
  - `capabilities` string[], required
  - `createdAt` string, date-time, required
  - `sharedBy` string

## Other responses

- `400`: Not a plugin to share
- `401`: Not signed in
- `409`: The bundle has not been uploaded
- `503`: Accounts or plugin storage are not set up here

---

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