---
title: "List collections"
method: GET
path: "/v1/collections"
tags: ["Collections"]
---

# List collections

`GET /v1/collections`

## Request

- Base URL: `https://stashr.me`
- URL: `https://stashr.me/v1/collections`
- Auth: HTTP bearer

Return every collection (saved filter rules), unpaginated, sorted pinned-first and then by manual position.

## Response `200`

All collections

- object
  - `data` Collection[], required
    - `color` string, required
    - `filters` object, required
    - `icon` string, required
    - `id` string, uuid, required
    - `name` string, required
    - `pinned` boolean
    - `position` integer

## Other responses

- `400`: Malformed request (error.code bad_request or invalid_json)
- `401`: Missing, invalid, or expired credentials (error.code unauthorized)
- `402`: A Pro plan or active trial is required (error.code payment_required)
- `403`: The credential lacks the required scope (error.code forbidden)
- `404`: The resource does not exist or belongs to another account (error.code not_found)
- `422`: Validation failed; error.details.issues lists the fields (error.code validation_error)
- `429`: Too many requests (error.code rate_limited); wait Retry-After seconds, also given as error.retryAfterMs
- `500`: Something failed on Stashr's side (error.code internal_error); retryable

---

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