---
title: "List comments"
description: "The comment threads on a page or markdown document you can read, with their messages, what each points at (anchor: quoted text, a block or the page;…"
canonical_url: https://docs.markdrop.in/api/comments/list-comments
last_updated: 2026-11-20
site: "Markdrop Docs"
index: https://docs.markdrop.in/llms.txt
---

# List comments

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

The comment threads on a page or markdown document you can read, with their messages, what each points at (`anchor`: quoted text, a block or the page; `anchor_status` is `changed` when the text was edited away, with `original`), and what you may do (`can`). Signed in, or anyone when the owner shows comments publicly. `status` filters open or resolved; `mine` keeps threads you're in.

- **Authentication:** Token optional: send `Authorization: Bearer mdk_…` to act as your account, `X-Read-Password` for a password-protected document.
- **Rate limit:** 240 per minute per IP address.
- **MCP tool:** `list_comments` ([tools](https://docs.markdrop.in/ai/tools))
- **Guide:** [Comments](https://docs.markdrop.in/collaboration/comments)

## Path parameters

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

## Query parameters

- `status` ("open" | "resolved" | "all"): Default `"all"`.
- `mine` (boolean): Default `false`.

## Headers

- `X-Read-Password` (string): The password of a password-protected document.
- `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`: Sign in to see comments (code `signin`).
- `403`: Comments are off for this item (code `comments_off`).
- `404`: No such document, or it can't have comments (code `comments_unavailable`: encrypted, a file, or no owner).
- `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/comments \
  -H "Authorization: Bearer $MARKDROP_TOKEN"
```

**JavaScript**

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