---
title: "Get alarm comments"
method: GET
path: "/alarms/{alarm-id}/comments"
tags: ["Alarms"]
---

# Get alarm comments

`GET /alarms/{alarm-id}/comments`

Returns all comments for the specified alarm

## Path parameters

- `alarm-id` integer, required

## Response `200`

List of comments

- object
  - `comments` AlarmComment[]
    - `id` integer
    - `alarmId` integer
    - `userId` integer
    - `userName` string
    - `lastChangeTime` integer
    - `text` string

## Other responses

- `401` — Access denied

## Changes

- **2026-01-30** `32f48ec94aec` — 1 breaking, 3 info
  - for the `path` request parameter `alarm-id`, the format changed from no format to `int64`
  - added the optional property `comments` to the response with the `200` status
  - added the optional property `description` to the response with the `401` status
  - added the optional property `error` to the response with the `401` status
- **2023-02-28** `697d985c3025` — 1 breaking
  - added the new path request parameter `alarm-id`
- **2023-02-28** `910d3ad08e09` — 1 info
  - endpoint added
- **2023-02-23** `9c09a2aad349` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/netxms/apis/netxms-rest-api/changes/alarms/:alarm-id/comments/get.md)

---

[API](https://skmtc.dev/netxms/apis/netxms-rest-api.md) · [All operations](https://skmtc.dev/netxms/apis/netxms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/netxms/netxms-rest-api/revisions/491c515b279a/schema)
