---
title: "Update thread comment"
method: PATCH
path: "/v2/api/threads/comments/{comment_id}"
tags: ["Threads"]
---

# Update thread comment

`PATCH /v2/api/threads/comments/{comment_id}`

## Request

- Base URL: `https://api.withallo.com`
- URL: `https://api.withallo.com/v2/api/threads/comments/{comment_id}`
- Auth: API key in header `Authorization`

Updates a comment's content. Only the comment's author can edit it.

## Path parameters

- `comment_id` string, required

## Request body

- object
  - `content` string, required: Comment text (max 4000 characters). Mention teammates inline with `@[Name](usr-...)`.

## Response `200`

Updated comment

- object
  - `data` ThreadComment
    - `id` string: Comment ID (`thc-*`)
    - `content` string: Comment text, with mentions inline as `@[Name](usr-...)`.
    - `user` NoteUser: Author of a note or comment.
      - `id` string
      - `name` string, nullable
    - `mentions` NoteMention[]
      - `user_id` string
      - `name` string, nullable
      - `deleted` boolean: `true` if the mentioned user has since been removed from the team.
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `400`: Invalid request parameters
- `401`: Invalid or missing API key
- `403`: API key lacks the required scope or access to the resource
- `404`: Resource not found
- `429`: Rate limit exceeded

## Changes

- **2026-11-03** `46c77103dd14`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/withallo/apis/allo-api/changes/v2/api/threads/comments/:comment_id/patch.md)

---

[API](https://skmtc.dev/withallo/apis/allo-api.md) - [All operations](https://skmtc.dev/withallo/apis/allo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withallo/apis/allo-api/revisions/46c77103dd14?raw)
