---
title: "Returns a list of DAM Categories"
method: GET
path: "/dam/categories"
tags: ["DAM: Categories"]
---

# Returns a list of DAM Categories

`GET /dam/categories`

## Request

- Base URL: `https://api.kontainer.com/jsonapi/v2`
- URL: `https://api.kontainer.com/jsonapi/v2/dam/categories`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/kontainer/apis/kontainer-api-documentation/docs/dam/categories/get.ts> (a function with typed inputs; its response is checked against the schema)

## Retrieve DAM Categories
Endpoint for retrieving a collection of Categories.

## Response `200`

success

- DamCategoriesResponse
  - `data` DamCategory[], required
    - `type` 'dam_category', required
    - `id` string, required
    - `attributes` object, required
      - `name` string, required
      - `description` string, required
      - `allow_folder_custom_fields` boolean, required: Whether the category can be used for folder custom fields
    - `links` object, required
      - `self` string, uri, required
    - `meta` unknown[], required: Always empty
      - unknown
  - `links` object, required
    - `first` string, uri
    - `last` string, uri
    - `prev` string, uri, nullable
    - `next` string, uri, nullable
  - `meta` object, required
    - `current_page` integer
    - `from` integer, nullable
    - `last_page` integer
    - `links` object[]
      - `url` string, uri, nullable
      - `label` string
      - `active` boolean
    - `path` string, uri
    - `per_page` integer: Fixed at the configured default page size (500 unless overridden)
    - `to` integer, nullable
    - `total` integer
    - `filter` union: The `filter` query parameter echoed back as sent; an empty array when none was sent
      - object
      - unknown[]
        - unknown
    - `sort` string, nullable: Echo of the sort query parameter; the list is always ordered by name

## Other responses

- `401`: Unauthorized

---

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