---
title: "Update a chatActivityReason"
method: PUT
path: "/chatActivitiesReasons/{chatActivityReasonId}"
tags: ["chatActivitiesReasons"]
---

# Update a chatActivityReason

`PUT /chatActivitiesReasons/{chatActivityReasonId}`

## Path parameters

- `chatActivityReasonId` string, required

## Request body

- ChatActivityReasonRequestUpdate
  - `text` object — Both the original and the lower-case space-free normalized version of the reason to close a chat
    - `original` string, required — The original text of the reason to close a chat
    - `normalized` unknown, required
  - `allowDescription` boolean — Indicator if this reason requires an extra description or not. The extra description lives in the chatActivity itself, not here.

## Response `200`

ChatActivityReason updated

- ChatActivityReasonResponse — A ChatActivityReason represents a predefined reason or category that staff can attach to a chat activity or conversation, such as why it was closed or flagged. It stores both the original text and a normalized version for consistent matching, plus a flag indicating whether an additional free text description is allowed alongside the selected reason. This is used to standardize and report on why patient chat conversations occur or end.
  - `_id` string — Luma's internal ID of an object.
  - `user` string — The ID of the root account user.
  - `deleted` 0 | 1 — Flag for logical deletion where 1 means deleted.
  - `createdBy` string — The ID of the user who created this object.
  - `updatedBy` string — The ID of the user who updated this object.
  - `createdAt` string, date-time — The date/time when this object was created.
  - `updatedAt` string, date-time — The date/time when this object was updated.
  - `text` object, required — Both the original and the lower-case space-free normalized version of the reason to close a chat
    - `original` string, required — The original text of the reason to close a chat
    - `normalized` unknown, required
  - `allowDescription` boolean, required — Indicator if this reason requires an extra description or not. The extra description lives in the chatActivity itself, not here.

## Other responses

- `401` — Not authenticated
- `403` — Access token does not have the required scope

---

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