PUT
/api/cp/chat/chatroom_message/{identifier}
curl \
--request PUT 'https://replace-with-own-host.iw-erp.de/api/cp/chat/chatroom_message/{identifier}' \
--header "x-session-token: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"data":{"id":42,"message_text":"string","attachments":[{"id":42,"filename":"string","filesize":"string","mimetype":"string","created":"2025-05-04T09:42:00Z","googledownloadlink":"string"}],"reactions":[{"id":42,"emoji":"string"}],"completed":true}}'
Request examples
{
"data": {
"id": 42,
"message_text": "string",
"attachments": [
{
"id": 42,
"filename": "string",
"filesize": "string",
"mimetype": "string",
"created": "2025-05-04T09:42:00Z",
"googledownloadlink": "string"
}
],
"reactions": [
{
"id": 42,
"emoji": "string"
}
],
"completed": true
}
}
Response examples (200)
{
"id": 42,
"message_text": "string",
"attachments": [
{
"id": 42,
"filename": "string",
"filesize": "string",
"mimetype": "string",
"created": "2025-05-04T09:42:00Z",
"googledownloadlink": "string"
}
],
"reactions": [
{
"id": 42,
"emoji": "string"
}
],
"completed": true
}