Return single ChatroomMessage

GET /api/chat/chatroom_message/{identifier}

Path parameters

  • identifier string Required

Query parameters

  • iw-build-id string

    build id of the client

  • iw-package-id string

    package id of the client

Responses

  • 200 application/json

    Return single ChatroomMessage

    Hide response attributes Show response attributes object
    • id integer
    • chatroom object
      Hide chatroom attributes Show chatroom attributes object
      • id integer
      • created string(date-time)
      • updated string(date-time)
      • deleted boolean
      • name string
      • image_url string
    • participant object
      Hide participant attributes Show participant attributes object
      • id integer
      • created string(date-time)
      • updated string(date-time)
      • deleted boolean
      • name string
      • image_url string
    • message_text string
    • attachments array[object]
      Hide attachments attributes Show attachments attributes object
      • id integer
      • filename string
      • filesize string
      • mimetype string
      • createdbyusername string
      • created string(date-time)
      • googleid string
      • scope string
    • reactions array[object]
      Hide reactions attributes Show reactions attributes object
      • id integer
      • emoji string
      • participant object
        Hide participant attributes Show participant attributes object
        • id integer
        • created string(date-time)
        • updated string(date-time)
        • deleted boolean
        • name string
        • image_url string
      • created string(date-time)
      • updated string(date-time)
      • image_url string
      • deleted boolean
    • completed boolean
    • created string(date-time)
    • updated string(date-time)
    • deleted boolean
GET /api/chat/chatroom_message/{identifier}
curl \
 --request GET 'https://replace-with-own-host.iw-erp.de/api/chat/chatroom_message/{identifier}' \
 --header "x-session-token: $API_KEY"
Response examples (200)
{
  "id": 42,
  "chatroom": {
    "id": 42,
    "created": "2025-05-04T09:42:00Z",
    "updated": "2025-05-04T09:42:00Z",
    "deleted": true,
    "name": "string",
    "image_url": "string"
  },
  "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,
      "emoji": "string",
      "participant": {
        "id": 42,
        "created": "2025-05-04T09:42:00Z",
        "updated": "2025-05-04T09:42:00Z",
        "deleted": true,
        "name": "string",
        "image_url": "string"
      },
      "created": "2025-05-04T09:42:00Z",
      "updated": "2025-05-04T09:42:00Z",
      "image_url": "string",
      "deleted": true
    }
  ],
  "completed": true,
  "created": "2025-05-04T09:42:00Z",
  "updated": "2025-05-04T09:42:00Z",
  "deleted": true
}