Leum gu prìomh susbaint

templateCreateInput

Create a new Template in a group.

Fields​

FieldTypeRequiredDefaultDescription
groupIdID!Yes—Group to create the template in
titleString!Yes—Template title
documentRetentionDaysIntNo—Days to retain documents created from this template
uploadOptionsUploadOptionsInputNo—Processing options applied when a PDF is uploaded to this template. Fields: pdfFieldsImport (Boolean) — import fields from the PDF; processTags (Boolean) — process text tags on upload

Example​

mutation CreateTemplate {
createTemplate(input: {
groupId: "Z3JwbGVnYWxlc2lnbxRldg=="
title: "Employment Contract"
documentRetentionDays: 365
})
}

Export This Article

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