A Transaction represents an event that happened in a ticket, such as a Message, Ticket state change, Ticket was assigned to another agent, and more.

{
  "guidTransactionId": "753370ad-9b0a-4539-3483-c914f2bfbc43",
  "dateTime": "2018-11-20T13:56:13",
  "fromProtocolType": "Web",
  "type": "Message",
  "text": "Hello!",
  "html": "<p>Hello!</p>",
  "status": "Read",
  "fromParticipant": {
    "id": 1,
    "name": "John Wick",
    "displayName": "",
    "protocolType": "Web",
    "subProtocolType": "Undefined",
    "isActive": true,
    "isDeleted": false,
    "identifier": "",
    "type": "Client"
  },
  "attachments": [
    {
      "id": 1557,
      "type": "Image",
      "fileIdentifier": "201118135610uploadedimageklapzqep.jpg",
      "originalFileName": "UPLOADED_IMAGE.jpg",
      "thumbnails": [
        "https://glassix-test.s3.eu-central-1.amazonaws.com/thumbnail_201118135610uploadedimageklapzqep.jpg?X-Amz-Expires=10800&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJIFZS27UMTE47NXA/20181120/eu-central-1/s3/aws4_request&X-Amz-Date=20181120T140436Z&X-Amz-SignedHeaders=host&X-Amz-Signature=766df921e38312c96621e63150df3143a4570c532670404ce6ba2982886c69ca"
      ],
      "uri": "https://glassix-test.s3.eu-central-1.amazonaws.com/201118135610uploadedimageklapzqep.jpg?X-Amz-Expires=10800&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJIFZS27UMTE47NXA/20181120/eu-central-1/s3/aws4_request&X-Amz-Date=20181120T140436Z&X-Amz-SignedHeaders=host&X-Amz-Signature=8b17ad1960aa0302b8071bbf0ac51dec0c79cacc2b9bec7ae9aff7ad1c337258"
    }
  ]
}
Parameter
Type
Description
Allowed Values
guidTransactionIdstring
dateTimestringThe date and time this transaction was created.
fromProtocolTypestringThe channel origin of this message.SMS, WhatsApp, Mail, Web, FBmessenger, WebViaSMS, TelegramBot, FacebookFeed, InstagramFeed, PhoneCall, Undefind
typestringMessage, InteractiveDocument, LiveVideo, LiveVideoBidirectional, LiveVideoEnded, TicketClosed, TicketOpened, TicketSnoozed, TicketReAssigned, ParticipantAdd, ParticipantDeActivated, ParticipantReActivated, ParticipantProtocolTypeChangeByAgent, ParticipantProtocolTypeChangeByCustomer, InputBlockedInactiveCustomer, ParticipantBlocke, TicketSetAsPending, IntroductionMessage, DepartmentClosedMessage, OwnerOfflineMessage, OwnerOnBreakMessage, TicketClosedMessage, TicketReOpenedMessage, CustomerAreYouHereMessage, CustomerInputBlockedMessage, InteractiveDocumentSealed, UnsupportedMediaTypeMessage, Note, TicketAwaken, MessageEdited, MessageDeleted, TicketMovedFromDepartment, TicketMovedToDepartment, TicketClosedAutomatically
textstring
htmlstring
statusstringThe status of this transaction. If all the participants have read this message, then the status will be "Read". If only one has read it, and another only received it, then the status will be "Delivered".Pending, Delivered, Read, Undelivered, Queued, Accepted, Buffered, Failed, Rejected, Expired
fromParticipantParticipantParticipant - A participant is someone who belongs to a specific Ticket. Each ticket has at least 2 participants, who can be either an agent or a customer.
attachmentsarray[AttachmantAttachmant - An Attachment is part of a transaction, for example, an image sent along with a message from a customer.]