---
title: "list_comments"
description: "Read the comments on a post (with replies). Comment ids are what reply_to_comment and moderate_comment take. held: true lists comments held for review. Needs the **comments** permission. Also available as the MCP tool `list_comments`."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.mixetape.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: mixetape API › comments

`POST /api/v1/tools/list_comments`

Read the comments on a post (with replies). Comment ids are what reply_to_comment and moderate_comment take. held: true lists comments held for review. Needs the **comments** permission. Also available as the MCP tool `list_comments`.

## Authentication

- `apiKey`, http, header `Authorization`

## Request body

_Required._

- `list_comments.id` (string, required) — mixetape post id (list_posts)
- `list_comments.limit` (number, optional) — 1–100, default 20
- `list_comments.order` (string, optional)
  - one of `"time"`, `"relevance"`
- `list_comments.held` (boolean, optional)

## Example request

```json
{
  "id": "string",
  "limit": 0,
  "order": "time",
  "held": true
}
```

## Code samples

### cURL

```curl
curl --request POST \
  --url https://mixetape.com/api/v1/tools/list_comments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "string",
  "limit": 0,
  "order": "time",
  "held": true
}
'
```

### TypeScript

```typescript
const url = 'https://mixetape.com/api/v1/tools/list_comments';
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json', Authorization: 'Bearer <token>'},
  body: JSON.stringify({id: 'string', limit: 0, order: 'time', held: true})
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://mixetape.com/api/v1/tools/list_comments"

payload = {
    "id": "string",
    "limit": 0,
    "order": "time",
    "held": True
}
headers = {
    "Content-Type": "application/json",
    "Authorization": "Bearer <token>"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 200

The tool's result.

#### Example

```json
{
  "result": null
}
```

- `list_comments.response.200.result` (unknown, required) — What the tool returns

### 400

The request is invalid; `error` says why.

#### Example

```json
{
  "error": "string"
}
```

- `list_comments.response.400.error` (string, required) — What went wrong, in plain words

### 401

No valid API key.

#### Example

```json
{
  "error": "string"
}
```

- `list_comments.response.401.error` (string, required) — What went wrong, in plain words

### 403

The key lacks the permission this needs.

#### Example

```json
{
  "error": "string"
}
```

- `list_comments.response.403.error` (string, required) — What went wrong, in plain words

### 404

Not found, or not yours.

#### Example

```json
{
  "error": "string"
}
```

- `list_comments.response.404.error` (string, required) — What went wrong, in plain words


Source: https://docs.mixetape.com/api/comments/list_comments/index.md
