---
title: "Returns a single Download Template"
method: GET
path: "/dam/download-templates/{downloadTemplate}"
tags: ["DAM: Download Templates"]
---

# Returns a single Download Template

`GET /dam/download-templates/{downloadTemplate}`

## Request

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

## Retrieve a Download Template
Endpoint for retrieving a single Download Template.

## Path parameters

- `downloadTemplate` integer, required

## Response `200`

success

- SingleDownloadTemplateResponse
  - `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
- `404`: Resource not found

---

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