---
title: "Add, update and remove comments from a recommendation"
method: POST
path: "/api/v2/recommendationsNew/{recId}/comments"
tags: ["Recommendations"]
---

# Add, update and remove comments from a recommendation

`POST /api/v2/recommendationsNew/{recId}/comments`

Update the recommendation comments

## Path parameters

- `recId` string, required

## Headers

- `Authorization` string, required
- `apikey` string, required

## Request body

- object
  - `comment` string, required — free text comment
  - `createdBy` string, required — user name to be attached to the comment
  - `commentId` string — required when updating or deleting comment

## Response `200`

- object
  - `comment` string
  - `commentId` string
  - `createdAt` string
  - `createdBy` string
  - `createdByDisplayName` string

---

[API](https://skmtc.net/umbrellacost/apis/admin.md) · [All operations](https://skmtc.net/umbrellacost/apis/admin/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/umbrellacost/admin/revisions/b0a65610726b/schema)
