Skip to main content

Attachment

An Attachment is a file that can be included with documents sent from a Group. Attachments are managed at the group level and can be set to auto-attach to all outgoing documents.

Fields

FieldTypeDescription
idID!Unique identifier
filenameString!Original filename
extensionStringFile extension
descriptionString!Description of the attachment
autoAttachBooleanAutomatically attach to all outgoing documents
createdAWSDateTime!When the attachment was uploaded
createdByString!User who uploaded the attachment
retentionFloatExpiry time in unix epoch seconds
linkStringShort-lease URL for downloading

Query

query GetAttachment($id: ID!) {
attachment(id: $id) {
id
filename
description
extension
autoAttach
link
}
}

Attachments are also accessed via Group.attachmentConnection.

Example

Loading all attachments for a group (based on the Legalesign Console app):

query GetAttachments {
group(id: "Z3JwbGVnYWxlc2lnbxRldg==") {
attachmentConnection {
attachments {
id
filename
description
created
createdBy
extension
autoAttach
link
}
}
}
}

Export This Article

Save a copy of this page as PDF or plain text.