---
title: "Create a share"
method: PUT
path: "/shares"
tags: ["Shares"]
---

# Create a share

`PUT /shares`

## Query parameters

- `filter` string, required
- `type` 'album' | 'artist' | 'playlist' | 'podcast' | 'podcast_episode' | 'song' | 'video', required
- `description` string
- `expires` integer

## Response `200`

Share created

- object

## Other responses

- `400` — Ampache API error response payload.

## Changes

- **2026-07-11** `2db906b9afb1` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/ampache/apis/ampache-rest-api/changes/shares/put.md)

---

[API](https://skmtc.dev/ampache/apis/ampache-rest-api.md) · [All operations](https://skmtc.dev/ampache/apis/ampache-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ampache/ampache-rest-api/revisions/aff89ca1eeff/schema)
