---
title: "POST /v1/cases/{caseId}/list-comments"
method: POST
path: "/v1/cases/{caseId}/list-comments"
---

# POST /v1/cases/{caseId}/list-comments

`POST /v1/cases/{caseId}/list-comments`

Returns comments for a designated case.

## Path parameters

- `caseId` string, required

## Request body

- object
  - `nextToken` string — An optional string that, if supplied, must be copied from the output of a previous call to ListComments. When provided in this manner, the API fetches the next page of results.
  - `maxResults` integer — Optional element for ListComments to limit the number of responses.

## Response `200`

Success

- ListCommentsResponse
  - `nextToken` string — An optional string that, if supplied on subsequent calls to ListComments, allows the API to fetch the next page of results.
  - `items` ListCommentsItem[] — Response element for ListComments providing the body, commentID, createDate, creator, lastUpdatedBy and lastUpdatedDate for each response.
    - `commentId` string, required — <p/>
    - `createdDate` string, date-time — <p/>
    - `lastUpdatedDate` string, date-time — <p/>
    - `creator` string — <p/>
    - `lastUpdatedBy` string — <p/>
    - `body` string, password — <p/>
  - `total` integer — Response element for ListComments identifying the number of responses.

## Other responses

- `480` — ServiceQuotaExceededException
- `481` — AccessDeniedException
- `482` — ValidationException
- `483` — SecurityIncidentResponseNotActiveException
- `484` — InternalServerException
- `485` — ThrottlingException
- `486` — ConflictException
- `487` — ResourceNotFoundException
- `488` — InvalidTokenException

---

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