Skip to main content

template

Returns a single Template by ID. The link field provides a short-lease URL (expires after 60 seconds) to download the background PDF — this is only available when querying a single template, not in list queries.

Arguments

ArgumentTypeRequiredDescription
idIDNoGlobal node ID
templateIdIDNoTemplate-specific ID

Provide either id or templateId.

Return Type

Template

Example

query GetTemplate($id: ID!) {
template(id: $id) {
id
title
pageCount
pageDimensions
valid
locked
link
archived
tags
created
createdBy
lastSent
roles {
id
name
signerIndex
roleType
}
elementConnection {
templateElements {
id
elementType
label
page
role
signer
optional
}
totalCount
}
}
}

Export This Article

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