---
title: "List every template"
description: "Every template you can start a page from: the built-ins, your personal templates and, with workspace, that workspace's templates (members and up)."
canonical_url: https://docs.markdrop.in/api/templates/list-every-template
last_updated: 2026-11-04
site: "Markdrop Docs"
index: https://docs.markdrop.in/llms.txt
---

# List every template

`GET https://api.markdrop.in/api/v1/page-templates/all`

Every template you can start a page from: the built-ins, your personal templates and, with `workspace`, that workspace's templates (members and up). With `folder` too, the folder's default template.

- **Authentication:** API token required: `Authorization: Bearer mdk_…`.
- **Rate limit:** 60 per minute per IP address.
- **MCP tool:** `list_page_templates` ([tools](https://docs.markdrop.in/ai/tools))
- **Guide:** [Templates](https://docs.markdrop.in/pages/templates)

## Query parameters

- `workspace` (string): A workspace's id.
- `folder` (string): A folder of `workspace`: its id or path.

## Responses

- `200`: OK.
- `401`: No token, or the token is revoked or mistyped.
- `422`: The request didn't validate. `detail` lists each problem, with where it is (`loc`) and why (`msg`).
- `429`: Too many requests from your IP address. Wait the seconds in `Retry-After`.

## Examples

**curl**

```bash
curl https://api.markdrop.in/api/v1/page-templates/all \
  -H "Authorization: Bearer $MARKDROP_TOKEN"
```

**JavaScript**

```javascript
const res = await fetch("https://api.markdrop.in/api/v1/page-templates/all", {
  headers: {
    Authorization: `Bearer ${process.env.MARKDROP_TOKEN}`,
  },
});
const data = await res.json();
```

**Python**

```python
import os

import requests

r = requests.get(
    "https://api.markdrop.in/api/v1/page-templates/all",
    headers={"Authorization": f"Bearer {os.environ['MARKDROP_TOKEN']}"},
)
r.raise_for_status()
print(r.json())
```
