---
title: "Like or dislike a pack"
method: PUT
path: "/v1/private-content/packs/{packId}/reaction"
tags: ["Private Content"]
---

# Like or dislike a pack

`PUT /v1/private-content/packs/{packId}/reaction`

## Request

- Base URL: `https://api.miaai.chat` (the document declares no server; this is the origin it was published from)
- URL: `https://api.miaai.chat/v1/private-content/packs/{packId}/reaction`
- Auth: HTTP bearer

Send value: null to clear the reaction.

## Path parameters

- `packId` string, required

## Request body

- SetPrivateContentReactionDto
  - `value` 'LIKE' | 'DISLIKE', nullable, required: Null clears the reaction.

## Response `200`

- PrivateContentReactionResponseDto
  - `contentId` string, required
  - `myReaction` 'LIKE' | 'DISLIKE', nullable
  - `likesCount` number, required
  - `dislikesCount` number, required
  - `positiveRatePercent` number, nullable

---

[API](https://skmtc.dev/miaai/apis/backend-template-api.md) - [All operations](https://skmtc.dev/miaai/apis/backend-template-api/llms.txt) - [OpenAPI document](https://skmtc.dev/miaai/apis/backend-template-api/revisions/2a8d88a5124f?raw)
