---
title: "Check a comment's tone"
description: "Whether a draft comment reads clear and kind, with a suggested rewrite when it doesn't."
canonical_url: https://docs.markdrop.in/api/comments/check-a-comment-s-tone
last_updated: 2026-11-20
site: "Markdrop Docs"
index: https://docs.markdrop.in/llms.txt
---

# Check a comment's tone

`POST https://api.markdrop.in/api/v1/documents/{slug}/comments/ai/tone`

Whether a draft comment reads clear and kind, with a suggested `rewrite` when it doesn't. Only drafts that look harsh reach AI unless `force` is true.

- **Authentication:** API token required: `Authorization: Bearer mdk_…`.
- **Rate limit:** 30 per minute per IP address.
- **Guide:** [AI help](https://docs.markdrop.in/collaboration/suggested-edits#ai-help)

## Path parameters

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

## 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.

## Request body

`application/json`, required.

- `body` (string, required): 1–5,000 characters.
- `force` (boolean): Default `false`.

## 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 -X POST https://api.markdrop.in/api/v1/documents/k3x9q2m/comments/ai/tone \
  -H "Authorization: Bearer $MARKDROP_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"body":"Can we move this to Tuesday?","force":true}'
```

**JavaScript**

```javascript
const res = await fetch("https://api.markdrop.in/api/v1/documents/k3x9q2m/comments/ai/tone", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MARKDROP_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "body": "Can we move this to Tuesday?",
    "force": true
  }),
});
const data = await res.json();
```

**Python**

```python
import os

import requests

r = requests.post(
    "https://api.markdrop.in/api/v1/documents/k3x9q2m/comments/ai/tone",
    headers={"Authorization": f"Bearer {os.environ['MARKDROP_TOKEN']}"},
    json={"body": "Can we move this to Tuesday?", "force": True},
)
r.raise_for_status()
print(r.json())
```
