---
title: "Retrieve templates"
method: GET
path: "/DocServer/getTemplatesWithThumb"
tags: ["Layout"]
---

# Retrieve templates

`GET /DocServer/getTemplatesWithThumb`

Retrieve all templates

## Query parameters

- `type` 'Invoice' | 'invoicereminder' | 'Order' | 'Contractnote' | 'Packinglist' | 'Letter' | 'Creditnote'

## Response `200`

Successful operation

- object
  - `result` string
  - `templates` object[]
    - `id` string
    - `name` string
    - `translationCode` string
    - `sevClient` string
    - `type` string
    - `html` string
    - `default` integer
    - `premium` boolean

## Other responses

- `401` — Authentication required
- `500` — Server Error

---

[API](https://skmtc.net/sevdesk/apis/sevdesk-api.md) · [All operations](https://skmtc.net/sevdesk/apis/sevdesk-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sevdesk/sevdesk-api/revisions/a32cec0fecea/schema)
