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

{
  "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

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

The URI of this file. Note that this URI has an expiry of 3 hours.