An Attachment is part of a transaction, for example, an image sent along with a message from a customer.

"attachments": [
  {
    "id": 32833,
    "type": "Document",
    "fileIdentifier": "15062307211790_bookingcon_4wblckra_99c21246-e355-454c-9001-0158aa054d29.pdf",
    "originalFileName": "booking_confirmation.pdf",
    "thumbnails": [
      "https://glassix-test.s3.eu-central-1.amazonaws.com/thumbnail_15062307211790_bookingcon_4wblckra_99c21246-e355-454c-9001-0158aa054d29.pdf.jpg?X-Amz-Expires=21600&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJIFZS27UMTE47NXA/20230615/eu-central-1/s3/aws4_request&X-Amz-Date=20230615T072154Z&X-Amz-SignedHeaders=host&X-Amz-Signature=b9ff81711e2e3d714cc9b281df2e6d94cc0ac6c9a70f025100b5df167e4d1b23"
    ],
    "thumbnailsFileIdentifiers": [
      "thumbnail_15062307211790_bookingcon_4wblckra_99c21246-e355-454c-9001-0158aa054d29.pdf.jpg"
    ],
    "uri": "https://glassix-test.s3.eu-central-1.amazonaws.com/15062307211790_bookingcon_4wblckra_99c21246-e355-454c-9001-0158aa054d29.pdf?X-Amz-Expires=21600&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJIFZS27UMTE47NXA/20230615/eu-central-1/s3/aws4_request&X-Amz-Date=20230615T072154Z&X-Amz-SignedHeaders=host&X-Amz-Signature=004609e28520d17ba1e7b772ddb8372352e029925be71b6de74e9f691d80e1af",
    "isEmbedded": false
  }
]
Parameter Type Description Allowed Values
id integer The Id of the ticket.
type string The type of the attachment. Image, Video, Document, File, Solution, InteractiveDocument, Audio
fileIdentifier string The file name.
originalFileName string The original of the file. An email was sent with the file name "example-image.jpg", then the original filename will be "example-image.jpg". The fileIdentifier will be a random file name.
thumbnails array[string] Thumbnails created for the file. A thumbnail of a video will be a frame from the video. A thumbnail for a PDF file will be the first page.
uri string<uri> The URI of this file. Note that this URI has an expiry of 3 hours.
isEmbedded boolean If true, the file is embedded in the message and doesn't count as an inbound/outbound attachment.
If false, the file is attached to the message and counted in the inbound/outbound attachments.