Skip to main content

Attachment

A file attached to a message.

type Attachment implements Node, Timestamped {
contentId: String
createdAt: DateTime!
creator: Agent
deliverBy: DateTime
downloadUrl: String
fileName: String
fileSize: String
fileType: String
id: ID!
s3Key: String
scanReport: AttachmentScanReport
type: AttachmentType
updatedAt: DateTime!
url: String
}

Fields​

Attachment.contentId ● String scalar common​

The RFC2387 identifier of the attachment, if from an email.

Attachment.createdAt ● DateTime! non-null scalar common​

The date and time that the object was created.

Attachment.creator ● Agent object common​

The user that created the attachment.

Attachment.deliverBy ● DateTime scalar common​

The date and time that the message was sent. Used to allow for undoing send.

Attachment.downloadUrl ● String scalar common​

The public direct download URL of the attachment.

Attachment.fileName ● String scalar common​

The name of the attachment.

Attachment.fileSize ● String scalar common​

The attachment size in bytes.

Attachment.fileType ● String scalar common​

The attachment MIME type.

Attachment.id ● ID! non-null scalar common​

Attachment.s3Key ● String scalar common​

The attachment s3 key

Attachment.scanReport ● AttachmentScanReport object common​

The attachment type

Attachment.type ● AttachmentType enum common​

The attachment type

Attachment.updatedAt ● DateTime! non-null scalar common​

The date and time that the object was last updated.

Attachment.url ● String scalar common​

The public URL of the attachment.

Interfaces​

Node interface common​

An object with an ID.

Timestamped interface common​

An object with timestamp fields for when it was created and last updated.

Member of​

AttachmentConnection object ● AttachmentEdge object