Skip to main content
PATCH
/
comments
/
{id}
Update a comment
curl --request PATCH \
  --url https://slog.ai/comments/{id} \
  --header 'Content-Type: application/json' \
  --header 'slog-api-key: <api-key>' \
  --data '
{
  "content": "Updated content for the comment."
}
'
{
  "comment": {
    "id": "cmnt_01jqcomment01",
    "content": "This is blocked by the auth service migration.",
    "authorId": "user_01jquser0001",
    "author": {
      "id": "user_01jquser0001",
      "name": "Alex Johnson",
      "email": "[email protected]",
      "avatarUrl": null,
      "humanId": null
    },
    "taskId": "task_01jqabcd1111",
    "projectId": null,
    "milestoneId": null,
    "createdAt": "2026-05-10T11:00:00.000Z",
    "updatedAt": "2026-05-10T11:00:00.000Z"
  }
}

Authorizations

slog-api-key
string
header
required

API key obtained from the Slog dashboard or returned by the signup/invite-redeem flows. Pass as the slog-api-key header.

Path Parameters

id
string
required

Resource ID (UPID) or, for tasks and projects, the human-readable reference such as ENG-42.

Body

application/json
content
string

Updated comment body in Markdown.

Example:

"Updated comment content."

Response

The updated comment.

comment
object