## Configuration templates a tenant can apply (desk:admin)

`GET /api/desk/v1/templates`

Module: Desk · operationId: `listTemplates` · Tag: Configuration · Auth: access token (`Authorization: Bearer <accessToken>`)

### Responses

- **200** Templates (`application/json`)

Fields of the 200 answer:

- `items` (array of TemplateInfo, required)
  - `description` (string): What the template sets up
  - `key` (string): Key of the template
  - `name` (string): Name of the template
  - `summary` (object): Counts of spaces

Example 200 answer:

```json
{
  "items": [
    {
      "description": "Kundenanfragen und Störungen mit ITSM-Ticketarten, Warte-Status und Abschlussangaben",
      "key": "service-desk",
      "name": "Service Desk",
      "summary": {
        "fields": 8,
        "projectTemplates": 0,
        "projectTypes": 0,
        "spaces": 1,
        "teams": 2,
        "types": 5,
        "workflows": 1
      }
    },
    {
      "Projektbereich und der Vorlage „ERP-Einführung“": "",
      "description": "Projektart „Kundenprojekt“ mit Projektablauf",
      "key": "projects",
      "name": "Kundenprojekte",
      "summary": {
        "fields": 2,
        "projectTemplates": 1,
        "projectTypes": 1,
        "spaces": 1,
        "teams": 0,
        "types": 2,
        "workflows": 2
      }
    },
    {
      "description": "Nur Prioritäten und Wertelisten – Bereiche, Ticketarten und Abläufe legen Sie selbst an",
      "key": "empty",
      "name": "Leer",
      "summary": {
        "fields": 0,
        "projectTemplates": 0,
        "projectTypes": 0,
        "spaces": 0,
        "teams": 0,
        "types": 0,
        "workflows": 0
      }
    }
  ]
}
```

### Example request

```bash
curl -X GET 'https://api.mbcom.cloud/api/desk/v1/templates' \
  -H "Authorization: Bearer $ACCESS_TOKEN"
```
