---
title: "List Alarm Comments"
method: GET
path: "/v1/alarms/{alarm-id}/comments"
tags: ["Alarms"]
---

# List Alarm Comments

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

Retrieve all comments attached to an alarm.

## Path parameters

- `alarm-id` integer, required

## Response `200`

List of alarm comments.

- AlarmComment[]
  - `id` integer — Comment ID
  - `alarmId` integer — ID of the alarm this comment belongs to
  - `userId` integer — ID of the user who created or last edited the comment
  - `userName` string — Name of the user who created or last edited the comment
  - `lastChangeTime` string, date-time — Time when the comment was created or last edited
  - `text` string — Comment text

## Other responses

- `401` — Unauthorized
- `403` — User does not have read access to alarm or alarm's source object
- `404` — Alarm with given ID does not exist

---

[API](https://skmtc.net/netxms/apis/netxms-api.md) · [All operations](https://skmtc.net/netxms/apis/netxms-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/netxms/netxms-api/versions/ee1f54ee3abd/schema)
