templateCreateOutput
templateCreateOutput returns the new template ID and the upload URL used to provide the template file.
Fields
| Field | Type | Description |
|---|---|---|
id | ID! | Unique identifier of the created template |
uploadUrl | String! | Short-lived URL used to upload the template file |
Example
mutation CreateTemplate {
createTemplate(input: {
groupId: "Z3JwMTIzNDU2"
title: "Service Agreement"
filename: "service-agreement.pdf"
}) {
id
uploadUrl
}
}