EN

Messages

Get a list of messages

Request:
GET /api/v1/messages/history
Answer:
An array of all messages received in the project. Even if an object has already been deleted, the messages received from it will be stored in the history.

Create new message

In the body of the request to create a new message, specify its representation in the JSON format.
Required fields:
  • id - identifier of the object for which the message will be sent;
  • importance - message importance level:
    • information - informational;
    • important - important;
    • critical - critical;
  • text - content of the notification.
Request:
POST /api/v1/messages
{
  "id": "<object-id>",
  "importance": "important",
  "text": "test-message-01"
}
Answer:
Information about the status of request execution