---
title: "List Doc Collections"
method: GET
path: "/api/v4/{workspace-slug}/documents/{doc-public-id}/collections"
---

# List Doc Collections

`GET /api/v4/{workspace-slug}/documents/{doc-public-id}/collections`

## Request

- Base URL: `https://api.app.shortcut.com`
- URL: `https://api.app.shortcut.com/api/v4/{workspace-slug}/documents/{doc-public-id}/collections`
- Auth: HTTP bearer

List Doc Collections returns a paginated list of the Collections the Doc belongs to.

## Path parameters

- `workspace-slug` string, required
- `doc-public-id` string, uuid, required

## Query parameters

- `limit` integer
- `cursor` string
- `order_by` 'name' | 'created_at'
- `order_dir` 'desc' | 'asc'
- `filter` 'exclude_archived' | 'include_archived' | 'favorited'
- `fields` string

## Response `200`

Resource

- DocCollectionEntityListWrapper
  - `$schema` string, required: The URI for the json-schema for this response.
  - `current_items` integer, required: The number of items on the current page.
  - `current_page` integer, required: The number of the current page.
  - `entities` Collection[], required: The entities for this page.
    - `archived` boolean: A true/false boolean indicating if the Collection has been archived.
    - `created_at` string, date-time: The time/date the Collection was created.
    - `entity_type` 'collection': The type of this entity.
    - `favorited` boolean: True if the current Member has favorited the Collection.
    - `id` string, uuid: The unique ID of the Collection.
    - `name` string: The name of the Collection.
    - `parent_collection` CollectionSlim
      - `entity_type` 'collection:slim', required: The type of this entity.
      - `id` string, uuid, required: The unique ID of the Collection.
      - `name` string, required: The name of the Collection.
      - `uri` string, required: A resolvable URI for the entity that will return the full representation.
    - `uri` string: A resolvable URI for the entity.
  - `total_items` integer, required: The number of total items across all pages.
  - `total_pages` integer, required: The total number of pages.
  - `next_page_url` string: A URL to get the next page. Will be absent on the last page.

## Other responses

- `400`: Schema mismatch
- `403`
- `404`: Resource does not exist
- `422`: Unprocessable

---

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