Skip to main content
GET
/
api
/
public
/
helpdesk
/
messages
/
{messageId}
/
comments

List Help Desk Comments

Returns all comments on a specific help desk message thread. Used to render the conversation history on the ticket detail page.

Authentication

Requires a valid customer bearer token.

Path Parameters

messageId
number
required
Numeric identifier of the help desk message.

Query Parameters

_shape
string
Comma-separated list of field paths to include in the response. When provided, only the specified fields are returned — useful for reducing payload size. Supports nested paths using dot notation. Example: _shape=Records.MessageText,Records.CoworkerId,Records.CreatedOn.

Response

Returns an ApiListResult<HelpDeskComment> with the comment records. The top-level response includes standard pagination fields (CurrentPage, TotalItems, TotalPages, etc.). Each item in the Records array has:

Identity

FieldTypeDescription
IdnumberUnique identifier for the comment
UniqueIdstringGUID identifier

Content

FieldTypeDescription
MessageTextstringComment text content
IsAiGeneratedbooleanWhether the comment was generated by AI

Author

FieldTypeDescription
CoworkerCoworkerCoworker who posted the comment (nested)
CoworkerIdnumberCoworker identifier

Media

FieldTypeDescription
HasImagebooleanWhether the comment has an attached image
ImageFileNamestringFilename of the attached image

Timestamps (from base)

FieldTypeDescription
CreatedOnstringRecord creation timestamp (local)
UpdatedOnstringRecord last-update timestamp (local)
CreatedOnUtcstringRecord creation timestamp (UTC)
UpdatedOnUtcstringRecord last-update timestamp (UTC)

Examples

Fetch comments

GET /api/public/helpdesk/messages/501/comments
Authorization: Bearer {token}

TypeScript Integration

import endpoints from '@/api/endpoints'

const { resource: comments } = useTypedData(httpClient, endpoints.helpDesk.comments.list(501))