---
title: "Retrieve a comment"
method: GET
path: "/projects/{project_id}:{branch}/keys/{key_id}/comments/{comment_id}"
tags: ["Comments"]
---

# Retrieve a comment

`GET /projects/{project_id}:{branch}/keys/{key_id}/comments/{comment_id}`

## Request

- Base URL: `https://api.lokalise.com/api2`
- URL: `https://api.lokalise.com/api2/projects/{project_id}:{branch}/keys/{key_id}/comments/{comment_id}`
- Auth: API key in header `X-Api-Token`

Retrieves a [Comment](#object-comments) object.

Requires <code>read_comments</code> OAuth access scope.

## Path parameters

- `project_id` string, required
- `branch` string, required
- `key_id` number, required
- `comment_id` number, required

## Response `200`

OK

- object
  - `project_id` string
  - `comment` Comments
    - `comment_id` number: A unique identifier of the comment.
    - `key_id` number: Identifier of a key, the comment is attached to.
    - `comment` string: The comment message.
    - `added_by` number: Identifier of a user, who has left the comment.
    - `added_by_email` string: E-mail of a user, who has left the comment.
    - `added_at` string: Date and time the comment was added.
    - `added_at_timestamp` number: Unix timestamp the comment was added.

---

[API](https://skmtc.dev/lokalise/apis/projects-with-branches.md) - [All operations](https://skmtc.dev/lokalise/apis/projects-with-branches/llms.txt) - [OpenAPI document](https://skmtc.dev/lokalise/apis/projects-with-branches/revisions/7ed3f978a361?raw)
