GET v1/getChatMessage?id={id}

Метод який повертає повідомлення акаунта.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ChatMessage
NameDescriptionTypeAdditional information
id

ID повідомлення

integer

None.

senderID

ID відправника Task

integer

None.

senderName

Назва відправника Task

string

None.

recipientID

ID отримувача Task

integer

None.

recipientName

Назва отримувача Task

string

None.

text

Текст повідомлення

string

None.

textFormatted

Текст повідомлення відформатований

string

None.

onDate

Дата створення повідомлення у форматі ISO

date

None.

isRead

Ознака чи прочитане повідомлення

boolean

None.

files

Список ID файлів

Collection of ChatMessageFile

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "senderID": 2,
  "senderName": "sample string 3",
  "recipientID": 4,
  "recipientName": "sample string 5",
  "text": "sample string 6",
  "textFormatted": "sample string 6",
  "onDate": "2026-06-10T07:09:53.1134012+03:00",
  "isRead": true,
  "files": [
    {
      "id": 1,
      "name": "sample string 2",
      "binarySize": 3,
      "base64Size": 4,
      "body": "sample string 5",
      "offset": 6,
      "guid": "sample string 7"
    },
    {
      "id": 1,
      "name": "sample string 2",
      "binarySize": 3,
      "base64Size": 4,
      "body": "sample string 5",
      "offset": 6,
      "guid": "sample string 7"
    }
  ]
}