The File object

A file object represents a file hosted on Gorgias's servers. You can upload files to attach them to messages.

File properties

string

The content type of the file.

string

The name of the file.

integer

The size of the file (in bytes).

url

The URL of the file.

File example object

{
  "size": "784554",
  "url": "https://gorgias.io/attachments/package-damaged.png",
  "content_type": "image/png",
  "name": "package-damaged.png"
}