Returns a list of all ChatroomMessages
Query parameters
-
chatroom
string Requires access right: SCOPE_LIST
-
participant
string Requires access right: SCOPE_LIST
-
deleted
boolean This property is used to mark an entity as deleted / archived | Requires access right: SCOPE_LIST
-
searchString
string text to search for in the list
-
orderFieldName
string name of the order field
-
orderFieldSort
string sorting mode
Values are
DESC
orASC
. -
page
integer page of the list
Default value is
0
. -
pageSize
integer number of entries for each page
Minimum value is
1
, maximum value is200
. Default value is50
. -
withMaxPageNumber
string returns the number of pages available as a header if this is set
-
iw-build-id
string build id of the client
-
iw-package-id
string package id of the client
GET
/api/chat/chatroom_message
curl \
--request GET 'https://replace-with-own-host.iw-erp.de/api/chat/chatroom_message' \
--header "x-session-token: $API_KEY"
Response examples (200)
[
{
"id": 42,
"participant": {
"id": 42,
"created": "2025-05-04T09:42:00Z",
"updated": "2025-05-04T09:42:00Z",
"deleted": true,
"name": "string",
"image_url": "string"
},
"message_text": "string",
"attachments": [
{
"id": 42,
"filename": "string",
"filesize": "string",
"mimetype": "string",
"createdbyusername": "string",
"created": "2025-05-04T09:42:00Z",
"googleid": "string",
"scope": "string"
}
],
"reactions": [
{
"id": 42,
"created": "2025-05-04T09:42:00Z",
"updated": "2025-05-04T09:42:00Z",
"image_url": "string",
"deleted": true
}
],
"created": "2025-05-04T09:42:00Z",
"updated": "2025-05-04T09:42:00Z",
"deleted": true
}
]