---
title: "List page versions"
description: "A page's saved versions, newest first, with who made each one and when."
canonical_url: https://docs.markdrop.in/api/page-history/list-page-versions
last_updated: 2026-11-04
site: "Markdrop Docs"
index: https://docs.markdrop.in/llms.txt
---

# List page versions

`GET https://api.markdrop.in/api/v1/documents/{slug}/versions`

A page's saved versions, newest first, with who made each one and when. For people who can edit the page. An end-to-end encrypted document has no history: `available` is `false`.

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

## Path parameters

- `slug` (string, required): The document's address: the part after `markdrop.in/`.

## Query parameters

- `cursor` (integer): The `next_cursor` of the previous page. At least 1.
- `limit` (integer): How many to return, up to 100. From 1 to 100. Default `50`.

## Headers

- `X-Markdrop-Workspace` (string): A workspace's id: answer only if the document is in that workspace, else `404`. Workspace domains send it; you rarely need it.

## 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/documents/k3x9q2m/versions \
  -H "Authorization: Bearer $MARKDROP_TOKEN"
```

**JavaScript**

```javascript
const res = await fetch("https://api.markdrop.in/api/v1/documents/k3x9q2m/versions", {
  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/documents/k3x9q2m/versions",
    headers={"Authorization": f"Bearer {os.environ['MARKDROP_TOKEN']}"},
)
r.raise_for_status()
print(r.json())
```
