---
title: "Resolve a comment thread"
method: PUT
path: "/v1/projects/{projectId}/comment-threads/{threadId}/resolution"
tags: ["analytics"]
---

# Resolve a comment thread

`PUT /v1/projects/{projectId}/comment-threads/{threadId}/resolution`

## Request

- Base URL: `https://api.prodantix.com`
- URL: `https://api.prodantix.com/v1/projects/{projectId}/comment-threads/{threadId}/resolution`
- Auth: HTTP bearer

Marks the thread resolved by the caller. Resolving a resolved thread changes nothing.

## Path parameters

- `projectId` string, required
- `threadId` string, required

## Response `200`

The thread as it now stands

- object
  - `id` string, required
  - `reportId` string, required
  - `anchor` AnchorBody
    - `metric` string, nullable
    - `bucket` string, nullable
    - `breakdown` string[], nullable
    - `step` integer, nullable
    - `event` string, nullable
    - `cohortBucket` string, nullable
    - `period` integer, nullable
    - `daysActive` integer, nullable
    - `state` string, nullable
  - `resolved` boolean, required
  - `resolvedAt` string, nullable
  - `resolvedBySub` string, nullable
  - `createdBySub` string, required
  - `createdAt` string, required
  - `comments` CommentBody[], required
    - `id` string, required
    - `threadId` string, required
    - `body` string, nullable
    - `mentions` string[], required
    - `authorSub` string, required
    - `authorName` string, nullable
    - `createdAt` string, required
    - `editedAt` string, nullable
    - `deleted` boolean, required
    - `canChange` boolean, required
    - `reactions` ReactionBody[], required
      - `emoji` string, required
      - `count` integer, required
      - `reactedByMe` boolean, required

## Other responses

- `400`: The request does not describe a comment
- `403`: The caller may not do this
- `404`: The project, report, thread or comment is not there

---

[API](https://skmtc.dev/prodantix/apis/prodantix-api.md) · [All operations](https://skmtc.dev/prodantix/apis/prodantix-api/llms.txt) · [OpenAPI document](https://skmtc.dev/prodantix/apis/prodantix-api/revisions/fde6615df5a1?raw)
