---
title: "Approve or reject a review reply"
method: PATCH
path: "/feedbackResponsesExternalReviewReplies/{id}/approval"
tags: ["feedbackResponsesExternalReviewReplies"]
---

# Approve or reject a review reply

`PATCH /feedbackResponsesExternalReviewReplies/{id}/approval`

## Request

- Base URL: `https://api.lumahealth.io/api/v2`
- URL: `https://api.lumahealth.io/api/v2/feedbackResponsesExternalReviewReplies/{id}/approval`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/lumahealth/apis/rest-service/docs/feedbackResponsesExternalReviewReplies/:id/approval/patch.ts> (a function with typed inputs; its response is checked against the schema)

Updates the approval status of an AI-generated review reply. On approval, the reply
is queued for publishing by the next `PublishApprovedReviewReplies` job run (every 15 min).
On rejection, the reply is permanently dismissed.

Also updates the associated action queue item status (`accepted` or `rejected`).

## Path parameters

- `id` string, required

## Request body

- object
  - `status` 'approved' | 'rejected', required
  - `rejectionReason` string: Optional reason for rejection (used when status is rejected)
  - `finalText` string: Optional edited reply text to publish instead of the AI-generated text (used when status is approved)

## Response `200`

Reply status updated successfully

- object
  - `status` 'approved' | 'rejected'
  - `approvedBy` string
  - `approvedAt` string, date-time
  - `rejectedBy` string
  - `rejectedAt` string, date-time
  - `rejectionReason` string
  - `finalText` string

## Other responses

- `400`: Invalid status value
- `401`: Not authenticated
- `403`: Not authorized
- `404`: Reply not found
- `500`: Internal server error

## Changes

- **2026-10-17** `f19aeba84a26`: 1 info
  - endpoint added
- **2026-08-23** `d3c75c2a2f1d`: 1 breaking
  - api path removed without deprecation
- **2026-08-14** `3d7b2678a2ff`: 1 info
  - endpoint added
- **2026-08-11** `7f2513842cf4`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/lumahealth/apis/rest-service/changes/feedbackResponsesExternalReviewReplies/:id/approval/patch.md)

---

[API](https://skmtc.dev/lumahealth/apis/rest-service.md) - [All operations](https://skmtc.dev/lumahealth/apis/rest-service/llms.txt) - [OpenAPI document](https://skmtc.dev/lumahealth/apis/rest-service/revisions/f19aeba84a26?raw)
