# Get comment

This will return an existing comment.

[endpoint]
base_url = "https://uptime.betterstack.com"
path = "/api/v2/incidents/{incident_id}/comments/{comment_id}"
method = "GET"

[[path_param]]
name = "incident_id"
description = "The ID of the incident"
required = true
type = "string"

[[path_param]]
name = "comment_id"
description = "The ID of the comment"
required = true
type = "string"

[[header]]
name = "Authorization"
description = "Bearer `$TOKEN`"
required = true
type = "string"

[[header]]
name = "Content_Type"
description = "application/json"
required = false
type = "string"
[/endpoint]

[responses]
[[response]]
status = 200
description = '''Returns a single comment'''
body = '''{
  "data": {
    "id": "1",
    "type": "incident_comment",
    "attributes": {
      "id": 1,
      "content": "content",
      "user_id": 123,
      "user_email": "test@example.com",
      "created_at": "2025-06-03T12:10:28.357Z",
      "updated_at": "2025-06-03T12:10:28.357Z"
    }
  }
}'''

[[response]]
status = 404
description = '''Comment or incident was not found'''
body = ''''''
[/responses]

#### Example cURL 

```shell
[label Example]
curl --url https://uptime.betterstack.com/api/v2/incidents/1/comments/1 \
  --header "Authorization: Bearer $TOKEN" \
  --header 'Content-Type: application/json'
```