Create a signing template
Creates a signing template from an uploaded Word file, or an empty one when no file is given. The template must be filed under a lease template category.
Authorization
AuthorizationstringrequiredBody
application/json
namestringName for the template, up to 250 characters.
templateTypeenum<string>requiredWhat kind of document the template produces.
leaseTemplateCategoryIdstringrequiredThe lease template category to file it under. A Snowflake id sent as a decimal string.
uploadSessionIdstringUpload session holding the Word file to start from. Leave it out to create a template with no file yet.
Response
200 · The template that was created, with the URL of its Word file.
idstringThe signing template. A Snowflake id sent as a decimal string.
companyIdstringThe company the template belongs to.
documentIdstringThe underlying document record that holds the Word file and its placeholders.
namestringName of the template. Absent when none was given.
templateTypeenum<string>What kind of document the template produces.
leaseTemplateCategoryIdstringThe category the template is filed under. Absent when it is uncategorised.
docxUrlstringURL of the current Word file, for opening in the document editor.
createdstring · date-timeWhen the template was created, in the company's timezone.
updatedstring · date-timeWhen it was last changed, in the company's timezone.
401 · The access token is missing, expired, or not valid for this company.
To start from a Word file, request an upload session first, send the bytes to it, then pass the session id here.