Query parameters

  • chatroom string

    Requires access right: SCOPE_LIST

  • Requires access right: SCOPE_LIST

  • deleted boolean

    This property is used to mark an entity as deleted / archived | Requires access right: SCOPE_LIST

  • text to search for in the list

  • name of the order field

  • sorting mode

    Values are DESC or ASC.

  • page integer

    page of the list

    Default value is 0.

  • pageSize integer

    number of entries for each page

    Minimum value is 1, maximum value is 200. Default value is 50.

  • returns the number of pages available as a header if this is set

  • build id of the client

  • package id of the client

Responses

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
  }
]