Allo

Update thread comment

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

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

Behavior

Replaces the comment's content. Only the comment's author can edit it — updating someone else's comment returns 403 with code NOT_COMMENT_AUTHOR.

Mentions are re-parsed from the new content — see the mentions guide.

Errors

StatusCodeWhen
400EMPTY_NOTE_CONTENTcontent is missing or blank
400NOTE_CONTENT_TOO_LONGcontent exceeds 4,000 characters
403NOT_COMMENT_AUTHORThe API key's user is not the comment's author
404THREAD_COMMENT_NOT_FOUNDNo comment with this ID

Authorization

Authorizationstring · headerrequired

Api-Key ak_live_…

Path parameters

comment_idstringrequired

Comment ID (thc-*)

Body

contentstringrequired

Comment text (max 4000 characters). Mention teammates inline with @[Name](usr-...).

Responses

200Updated comment
dataobject
6 fields
idstring

Comment ID (thc-*)

contentstring

Comment text, with mentions inline as @[Name](usr-...).

userobject

Author of a note or comment.

2 fields
idstring
namestring | null
mentionsobject[]
3 fields
user_idstring
namestring | null
deletedboolean

true if the mentioned user has since been removed from the team.

created_atstring<date-time>
updated_atstring<date-time>
400
401
403
404
429