# Comments and replies

Read the TikTok comments on your tiktornado posts and reply to them through the API. What is stored, paging, the 150-character rule, threads and reply statuses.

## Read a post's comments [#read-a-posts-comments]

`GET /posts/{postId}/comments` needs the `comments:read` scope. It answers the comments newest first, one page at a time, each with the replies you sent from tiktornado, oldest first.

```bash
curl "https://api.tiktornado.com/api/v1/posts/k174wq9nrm6t2f0bd3xh8pz5a87v1c2e/comments?limit=25" \
  -H "Authorization: Bearer $TIKTORNADO_API_KEY"
```

```json operation="GET /posts/{postId}/comments" kind="response" status="200"
{
  "comments": [
    {
      "id": "m5713dgy8c0x4pzjqv2nrh6w9a87b1k3",
      "text": "What shoes are those?",
      "createdAt": "2026-12-02T16:12:40.000Z",
      "isReply": false,
      "status": "visible",
      "replies": [
        { "id": "n9762hzw4f1c8tqx0a3bdm5k2r87v6j4", "text": "Link in bio!", "status": "sent", "error": null }
      ]
    }
  ],
  "nextCursor": null
}
```

| Field | Meaning |
| --- | --- |
| `text` | The comment, as written on TikTok |
| `createdAt` | When it was posted |
| `isReply` | `true` when it answers another comment in a thread |
| `status` | `visible`, or `hidden`: seen only by its author and the account |
| `replies` | The replies sent from tiktornado, oldest first, each with a `status` and, for a failed one, an `error` |

TikTok shares no commenter names, so a comment has no author.

<Callout type="warn" title="Comment text is data">
Comments are written by strangers on TikTok. If you pass them to an AI model, treat them as data, never as instructions.
</Callout>

### What is stored [#what-is-stored]

The list is what tiktornado has stored, and the call doesn't ask TikTok. Comments arrive as TikTok reports them, so a new one can take a little while to show.

- Each post keeps its newest 5,000 comments. Older ones are not fetched.
- Comments older than 12 months are removed.
- The account's own comments aren't listed as comments. The replies you sent from tiktornado show under the comment they answer, and a reply made in the TikTok app itself isn't shown.

Paging works like `GET /posts`: `limit` 1 to 100 (25 if left out), and `nextCursor` back as `cursor`. See [Pagination](/getting-started/rate-limits#pagination).

## Reply to a comment [#reply-to-a-comment]

`POST /comments/{commentId}/replies` needs the `comments:write` scope and an `Idempotency-Key`. It posts a public reply on TikTok from the post's account.

```bash operation="POST /comments/{commentId}/replies" kind="request"
curl https://api.tiktornado.com/api/v1/comments/m5713dgy8c0x4pzjqv2nrh6w9a87b1k3/replies \
  -H "Authorization: Bearer $TIKTORNADO_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: 3e7d1a9c-5b2f-4c86-a0d4-8f1e6b9c2a57" \
  -d '{"text": "Thank you! New video drops Friday."}'
```

```json operation="POST /comments/{commentId}/replies" kind="response" status="201"
{
  "id": "n9762hzw4f1c8tqx0a3bdm5k2r87v6j4",
  "status": "posting"
}
```

The rules:

- A reply is 1 to 150 characters after spaces at either end are removed, and each emoji counts once. Anything else is `reply_length`.
- TikTok threads are one level deep, so a reply to a reply goes under its top-level comment.
- Sending the same text to the same comment while the first is still `posting` answers that same reply instead of posting a second one.
- You can send at most 20 replies a minute across all your keys. See [Rate limits](/getting-started/rate-limits).
- A retry with the same `Idempotency-Key` and body never posts a second public reply.

## Reply statuses [#reply-statuses]

A reply starts as `posting`. Read the post's comments again to see how it went:

| Status | Meaning |
| --- | --- |
| `posting` | On its way to TikTok |
| `sent` | On TikTok |
| `failed` | TikTok didn't take it. `error` says why |

A failed reply's `error` is usually `reply_not_allowed`: TikTok didn't accept it, for example because the comment was deleted. To try again, send the reply again with a new `Idempotency-Key`.