---
title: "Get comment property keys"
method: GET
path: "/rest/api/3/comment/{commentId}/properties"
tags: ["Issue comment properties"]
---

# Get comment property keys

`GET /rest/api/3/comment/{commentId}/properties`

Returns the keys of all the properties of a comment.

This operation can be accessed anonymously.

**[Permissions](#permissions) required:**

 *  *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project.
 *  If [issue-level security](https://confluence.atlassian.com/x/J4lKLg) is configured, issue-level security permission to view the issue.
 *  If the comment has visibility restrictions, belongs to the group or has the role visibility is restricted to.

## Path parameters

- `commentId` string, required

## Response `200`

Returned if the request is successful.

- PropertyKeys — List of property keys.
  - `keys` PropertyKey[] — Property key details.
    - `key` string — The key of the property.
    - `self` string — The URL of the property.

## Other responses

- `400` — Returned if the comment ID is invalid.
- `401` — Returned if the authentication credentials are incorrect or missing.
- `403` — Returned if the user does not have the necessary permission.
- `404` — Returned if the comment is not found.

---

[API](https://skmtc.net/atlassian/apis/the-jira-cloud-platform-rest-api-2.md) · [All operations](https://skmtc.net/atlassian/apis/the-jira-cloud-platform-rest-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atlassian/the-jira-cloud-platform-rest-api-2/versions/5a51740d7ab3/schema)
