---
title: "List Available Templates"
method: GET
path: "/templates"
tags: ["Templates"]
---

# List Available Templates

`GET /templates`

### Get Available Templates

Retrieves the list of available templates from the external conversion service, categorized by language.

**Returns:**

A JSON object where keys are language codes (e.g., 'en', 'zh') and values are lists of template names for that language (without the .docx extension).

**Example cURL:**

```bash
curl -X GET "/templates"
```

**Example Response:**

```json
{
  "zh": [
    "templates",
    "英文通用",
    "论文",
    "论文-首行不缩进",
    "论文-标题加粗"
  ],
  "en": [
    "thesis",
    "templates",
    "short-fiction",
    "book2",
    "long-fiction",
    "book1",
    "article"
  ]
}
```

## Response `200`

Successful Response

- object

---

[API](https://skmtc.dev/deepshare/apis/markdown-to-docx-converter.md) · [All operations](https://skmtc.dev/deepshare/apis/markdown-to-docx-converter/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/deepshare/markdown-to-docx-converter/revisions/3c4ed7b0427a/schema)
