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.

int32

The size of the file (in bytes).

url

The URL of the file.

File example object

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