Get a single comment

This will return an existing comment.

GET https://uptime.betterstack.com/api/v2/incidents/{incident_id}/comments/{comment_id}

URL parameters

incident_id
required string
comment_id
required string

Headers

Authorization
required string
Content_Type
string
200

Response body

{
  "data": {
    "id": "1",
    "type": "incident_comment",
    "attributes": {
      "id": 1,
      "content": "content",
      "user_id": 123,
      "user_email": "test@example.com"
    }
  }
}
404

Example cURL

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