---
title: "Append a comment and notify explicit mentions"
method: POST
path: "/handovers/{id}/comments"
---

# Append a comment and notify explicit mentions

`POST /handovers/{id}/comments`

## Request

- Base URL: `https://handover.sh/api/v1`
- URL: `https://handover.sh/api/v1/handovers/{id}/comments`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- AddComment
  - `body` string, required
  - `mentionPrincipalIds` string[]
  - `target` AnnotationTarget
    - `revisionId` string, required
    - `artifactId` string, required
    - `targetKind` 'text' | 'code' | 'html', required
    - `selector` AnnotationSelector, required
      - `exact` string, required
      - `prefix` string
      - `suffix` string
      - `startOffset` integer
      - `endOffset` integer
      - `startLine` integer
      - `endLine` integer

## Response `201`

Updated collaboration thread

- HandoverThreadEnvelope
  - `data` object, required

## Other responses

- `403`: Request error

---

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