---
title: "List work order comments"
method: GET
path: "/workorders/{id}/comments"
tags: ["Work Orders"]
---

# List work order comments

`GET /workorders/{id}/comments`

## Query parameters

- `cursor` string — Last pagination reference
- `limit` integer — max number of Comments returned

## Response `200`

Successfully fetched Comments list

- object
  - `comments` object[], required
    - `id` number, required — Global ID of the comment
    - `authorId` number, required — ID of the user who created the comment
    - `content` string, required — Content of the comment to post
    - `createdAt` string, date-time, required — Date & time at which the comment was created
  - `nextCursor` string, nullable, required — The cursor to retrieve the next page of Comments.
  - `nextPageUrl` string, nullable, required — Path with query parameters that can be used to retrieve the next page of Comments.

## Other responses

- `400` — Error with query
- `401` — Invalid token
- `404` — Cannot find the parent resource

---

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