---
title: "Resolve or reopen a comment"
method: PATCH
path: "/v1/data/{artifactId}/comments/{commentId}/resolve"
tags: ["Data"]
---

# Resolve or reopen a comment

`PATCH /v1/data/{artifactId}/comments/{commentId}/resolve`

## Request

- Base URL: `https://shareout.site`
- URL: `https://shareout.site/v1/data/{artifactId}/comments/{commentId}/resolve`
- Auth: HTTP bearer

Signed-in caller: the comment's author, the artifact owner, the assignee, or anyone with comment access — owner or collaborator (across linked accounts), an internal member of the artifact's workspace when it is workspace- or public-visible, or a `comment` grant. A view-only grant does not qualify.

## Request body

- object
  - `resolved` boolean: `false` reopens the thread.

## Response `200`

The updated comment

- object
  - `success` boolean
  - `data` Comment
    - `id` string: `cmt_` + 24 hex characters.
    - `contextId` string, nullable
    - `parentId` string, nullable
    - `authorId` string, nullable
    - `authorName` string
    - `content` string
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
    - `resolved` boolean
    - `resolvedBy` string, nullable
    - `resolvedAt` string, date-time, nullable
    - `position` unknown
    - `mentions` string[]
    - `authorType` 'human' | 'agent' | 'guest': `guest` = a verified guest with no account (their email is never returned).
    - `assigneeUserId` string, nullable
    - `assigneeEmail` string, nullable
    - `dueAt` string, date-time, nullable
    - `versionId` string, nullable: Id of the version that was live when the comment was written; null on older comments.
    - `reactions` object

## Other responses

- `403`: `FORBIDDEN` (no comment access) or `COMMENTS_DISABLED`
- `404`: `COMMENT_NOT_FOUND`

## Changes

- **2026-10-16** `8c602e339d5d`: 1 warning
  - added the new `guest` enum value to the `data/authorType` response property for the response status `200`
- **2026-10-16** `924c2aeaed12`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/shareout/apis/shareout-rest-api/changes/v1/data/:artifactId/comments/:commentId/resolve/patch.md)

---

[API](https://skmtc.dev/shareout/apis/shareout-rest-api.md) - [All operations](https://skmtc.dev/shareout/apis/shareout-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shareout/apis/shareout-rest-api/revisions/1e3f7fd34f6d?raw)
