---
title: "Add Comment to Request"
method: PUT
path: "/api/datasubject/v2/requestqueues/{requestQueueRefId}/comments"
tags: ["Request Queues"]
---

# Add Comment to Request

`PUT /api/datasubject/v2/requestqueues/{requestQueueRefId}/comments`

## Request

- Base URL: `https://hostname`
- URL: `https://hostname/api/datasubject/v2/requestqueues/{requestQueueRefId}/comments`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://{hostname}/api/access/v1/oauth/token` scopes: `DSAR`, `DSAR_WRITE`

Use this API to add a comment to a request.

## Path parameters

- `requestQueueRefId` string, required: Request queue reference Id

## Request body

- PrivacyAutomationDataSubjectRequestDSRAutomationCommentV2Request
  - `comment` string, required: Comment if any.
  - `internalComment` boolean, required: Comments on the request can be internal or public. This flag determines if the comment is internal or public.
  - `language` string: This is the ISO language code for OneTrust supported languages. The language code provided here informs the language of the comment. Examples: en-us for English, de for German, fr for French, etc
  - `isInternalComment` boolean
  - `attachments` PrivacyAutomationDataSubjectRequestDSRAutomationAttachmentV2Dto[]
    - `fileName` string, required: Attached file name
    - `fileId` string, uuid, required: ID of attached file
    - `statusId` integer: Status ID of the attachment
    - `resourcePath` string: Resource path of the attachment

## Response `200`

OK

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `429`: Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500`: Internal Server Error

---

[API](https://skmtc.dev/onetrust/apis/privacy-automation-data-subject-request-dsr-automation.md) - [All operations](https://skmtc.dev/onetrust/apis/privacy-automation-data-subject-request-dsr-automation/llms.txt) - [OpenAPI document](https://skmtc.dev/onetrust/apis/privacy-automation-data-subject-request-dsr-automation/revisions/612f0b39b904?raw)
