templateCreateInput
Create a new Template in a group.
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
groupId | ID! | Yes | — | Group to create the template in |
title | String! | Yes | — | Template title |
documentRetentionDays | Int | No | — | Days to retain documents created from this template |
Example
mutation CreateTemplate {
createTemplate(input: {
groupId: "Z3JwbGVnYWxlc2lnbxRldg=="
title: "Employment Contract"
documentRetentionDays: 365
})
}