---
title: "List shares"
method: GET
path: "/shares"
tags: ["Shares"]
---

# List shares

`GET /shares`

## Query parameters

- `filter` string
- `exact` 0 | 1
- `offset` integer
- `limit` integer
- `cond` string
- `sort` string

## Response `200`

Share list

- SharesResponse
  - `total_count` integer, required
  - `md5` string, required
  - `share` ShareObject[], required
    - `id` string, required
    - `name` string, required
    - `owner` string, required
    - `allow_stream` boolean, required
    - `allow_download` boolean, required
    - `creation_date` integer, required
    - `lastvisit_date` integer, required
    - `object_type` string, nullable, required
    - `object_id` string, required
    - `expire_days` integer, required
    - `max_counter` integer, required
    - `counter` integer, required
    - `secret` string, nullable, required
    - `public_url` string, nullable, required
    - `description` string, nullable, required

## Other responses

- `400` — Ampache API error response payload.

## Changes

- **2026-07-18** `0366bc42fb8f` — 3 info
  - added the required property `md5` to the response with the `200` status
  - added the required property `share` to the response with the `200` status
  - added the required property `total_count` to the response with the `200` status
- **2026-07-17** `9abb9bf6d3bf` — 1 info
  - removed the non-success response with the status `400`
- **2026-06-25** `7ed7a764efd9` — 1 info
  - added the non-success response with the status `400`

[Change history](https://skmtc.dev/ampache/apis/ampache-rest-api/changes/shares/get.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/0366bc42fb8f/schema)
