Get Chat Messages
Get all or some of the messages in a chat session
NsApiSlow threshold: 5000 ms.
Headers
Convert string references and multi-language values into a specified language (iso2) code.
Convert string references and multi-language values into a specified language (iso2) code. Overrides Accept-Language value.
Number, date formatting in a specified culture (iso2 language) code. Partially overrides SO-Language/Accept-Language value. Ignored if no Language set.
Specify the timezone code that you would like date/time responses converted to.
The application token that identifies the partner app. Used when calling Online WebAPI from a server.
Query Parameters
Optional comma separated list of properties to include in the result. Other fields are then nulled out to reduce payload size: "Name,department,category". Default = show all fields.
Body
ChatSessionId, After
Response
OK
The primary key (auto-incremented)
The reference to the associated chat session.
The type of the message.
Invalid, ToCustomer, ToUser, Special The message.
The author of the message.
Whether the message has been read by the customer or not.
Enum indicating if it is a special message, such as an URL redirection, etc.
None, Welcome, Url, Block, NewSession, TransferedSession, Error, SessionDeleted, FaqSuccessQuestion, ClosedByUser, ClosedByCustomer, ClosedByIdle, TransferRejected, ReopenedByCustomer, ClickedOption, BotMessage, Options, IllegalFileType Special parameter for the special_type.
When the message was posted (UTC timestamp).