Attachment Model

Represents an attachment that is stored in Capsule.

Name Type Description
id Long Read only

The unique id of this attachment.

token String

The token of the attachment that has previously been uploaded using Upload Attachment.

filename String Read only

The filename of the attachment.

contentType String Read only

The file's MIME type e.g. image/jpeg, application/pdf.

size Long Read only

The size of the file in bytes.