---
title: "Returns a list of Download Templates"
method: GET
path: "/dam/download-templates"
tags: ["DAM: Download Templates"]
---

# Returns a list of Download Templates

`GET /dam/download-templates`

## Request

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

## Retrieve Download Templates
Endpoint for retrieving a collection of Download Templates.

## Response `200`

success

- DownloadTemplateResponse
  - `data` DownloadTemplate[]
    - `type` string
    - `id` string
    - `attributes` DownloadTemplateAttributes
      - `id` integer
      - `name` string
      - `quality` integer
      - `format` string
      - `disable_scaling` boolean
      - `height_max` integer
      - `width_max` integer
      - `margin` integer, nullable
      - `margin_top` integer
      - `margin_right` integer
      - `margin_bottom` integer
      - `margin_left` integer
      - `allow_upscale` boolean
      - `use_clipping_path` boolean
      - `crop_type` string
      - `resize_type` string
      - `keep_color_profile` boolean
      - `use_focal_point` boolean
      - `sort` integer
      - `bg_color` string, nullable
      - `active` boolean
      - `include_data_in_excel` boolean
      - `max_size` integer
      - `png_optimize` boolean
      - `crop_setting` string
      - `height` integer
      - `resize_setting` string
      - `width` integer
      - `permissions_count` integer
      - `fixed_type_dont_upscale` boolean
      - `trim` boolean
      - `remove_background` boolean
      - `created_at` string, date-time
      - `updated_at` string, date-time

## 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)
