---
title: "Toggle an emoji reaction on a comment"
method: PUT
path: "/crm/comments/{commentId}/reactions/{emoji}"
tags: ["crm"]
---

# Toggle an emoji reaction on a comment

`PUT /crm/comments/{commentId}/reactions/{emoji}`

## Request

- Base URL: `https://www.dench.com/api/v1`
- URL: `https://www.dench.com/api/v1/crm/comments/{commentId}/reactions/{emoji}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Toggle an emoji reaction on a comment.

## Path parameters

- `commentId` string, required
- `emoji` string, required: A single emoji, e.g. 👍.

## Response `200`

Successful response

- object
  - `reacted` boolean, required
  - `reactionSummary` object[], required
    - `emoji` string, required
    - `count` number, required

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid authentication
- `404`: Operation or resource not found
- `500`: Server error

---

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