Templates represent reusable document signing forms with fields and signatures to be collected. It's possible to create unique template forms with fields and signatures using HTML or with tagged PDFs.
List all templates
The API endpoint provides the ability to retrieve a list of available document templates.
query Parameters
qFilter templates based on the name partial match.
slugFilter templates by unique slug.
external_idThe unique applications-specific identifier provided for the template via API or Embedded template form builder. It allows you to receive only templates with your specified external id.
folderFilter templates by folder name.
archivedGet only archived templates instead of active ones.
limitThe number of templates to return. Default value is 10. Maximum value is 100.
afterThe unique identifier of the template to start the list from. It allows you to receive only templates with id greater than the specified value. Pass ID value from the pagination.next response to load the next batch of templates.
beforeThe unique identifier of the template to end the list with. It allows you to receive only templates with id less than the specified value.
List all templates › Responses
OK
List of templates.
Get a template
The API endpoint provides the functionality to retrieve information about a document template.
path Parameters
idThe unique identifier of the document template.
Get a template › Responses
OK
idUnique identifier of the document template.
slugUnique slug of the document template.
nameName of the template.
preferencesTemplate preferences.
List of documents attached to the template.
List of fields to be filled in the template.
author_idUnique identifier of the author of the template.
archived_atDate and time when the template was archived.
created_atDate and time when the template was created.
updated_atDate and time when the template was updated.
sourceSource of the template.
external_idIdentifier of the template in the external system.
folder_idUnique identifier of the folder where the template is placed.
folder_nameFolder name where the template is placed.
List of documents attached to the template.
shared_linkIndicates if the template is accessible by link.
Update a template
The API endpoint provides the functionality to move a document template to a different folder and update the name of the template.
path Parameters
idThe unique identifier of the document template.
Update a template › Request Body
nameThe name of the template
folder_nameThe folder's name to which the template should be moved.
rolesAn array of submitter role names to update the template with.
archivedSet false to unarchive template.
Update a template › Responses
OK
idTemplate unique ID number.
updated_atDate and time when the template was last updated.
Archive a template
The API endpoint allows you to archive a document template.
path Parameters
idThe unique identifier of the document template.
Archive a template › Responses
OK
idTemplate unique ID number.
archived_atDate and time when the template was archived.
Update template documents
The API endpoint allows you to add, remove or replace documents in the template with provided PDF/DOCX file or HTML content.
path Parameters
idThe unique identifier of the documents template.
Update template documents › Request Body
The list of documents to add or replace in the template.
mergeSet to true to merge all existing and new documents into a single PDF document in the template.
Update template documents › Responses
OK
idUnique identifier of the document template.
slugUnique slug of the document template.
nameName of the template.
preferencesTemplate preferences.
List of documents attached to the template.
List of fields to be filled in the template.
author_idUnique identifier of the author of the template.
archived_atDate and time when the template was archived.
created_atDate and time when the template was created.
updated_atDate and time when the template was updated.
sourceSource of the template.
external_idIdentifier of the template in the external system.
folder_idUnique identifier of the folder where the template is placed.
folder_nameFolder name where the template is placed.
List of documents attached to the template.
shared_linkIndicates if the template is accessible by link.
Clone a template
The API endpoint allows you to clone existing template into a new template.
path Parameters
idThe unique identifier of the documents template.
Clone a template › Request Body
nameTemplate name. Existing name with (Clone) suffix will be used if not specified.
folder_nameThe folder's name to which the template should be cloned.
external_idYour application-specific unique string key to identify this template within your app.
Clone a template › Responses
OK
idUnique identifier of the document template.
slugUnique slug of the document template.
nameName of the template.
preferencesTemplate preferences.
List of documents attached to the template.
List of fields to be filled in the template.
author_idUnique identifier of the author of the template.
archived_atDate and time when the template was archived.
created_atDate and time when the template was created.
updated_atDate and time when the template was updated.
sourceSource of the template.
external_idIdentifier of the template in the external system.
folder_idUnique identifier of the folder where the template is placed.
folder_nameFolder name where the template is placed.
List of documents attached to the template.
shared_linkIndicates if the template is accessible by link.
Create a template from HTML
The API endpoint provides the functionality to seamlessly generate a PDF document template by utilizing the provided HTML content while incorporating pre-defined fields.
Related Guides
Create PDF document fillable form with HTML
Create a template from HTML › Request Body
htmlHTML template with field tags.
html_headerHTML template of the header to be displayed on every page.
html_footerHTML template of the footer to be displayed on every page.
nameTemplate name. Random uuid will be assigned when not specified.
sizePage size. Letter 8.5 x 11 will be assigned when not specified.
external_idYour application-specific unique string key to identify this template within your app. Existing template with specified external_id will be updated with a new HTML.
folder_nameThe folder's name to which the template should be created.
shared_linkset to true to make the template available via a shared link. This will allow anyone with the link to create a submission from this template.
The list of documents built from HTML. Can be used to create a template with multiple documents. Leave documents param empty when using a top-level html param for a template with a single document.
Create a template from HTML › Responses
OK
idUnique identifier of the document template.
slugUnique slug of the document template.
nameName of the template.
preferencesTemplate preferences.
List of documents attached to the template.
List of fields to be filled in the template.
author_idUnique identifier of the author of the template.
archived_atDate and time when the template was archived.
created_atDate and time when the template was created.
updated_atDate and time when the template was updated.
sourceSource of the template.
external_idIdentifier of the template in the external system.
folder_idUnique identifier of the folder where the template is placed.
folder_nameFolder name where the template is placed.
List of documents attached to the template.
shared_linkIndicates if the template is accessible by link.
Create a template from Word DOCX
The API endpoint provides the functionality to create a fillable document template for existing Microsoft Word document. Use {{Field Name;role=Signer1;type=date}} text tags to define fillable fields in the document. See https://www.sealroute.com/examples/fieldtags.docx for more text tag formats. Or specify the exact pixel coordinates of the document fields using fields param.
Related Guides
Use embedded text field tags to create a fillable form
Create a template from Word DOCX › Request Body
nameName of the template
external_idYour application-specific unique string key to identify this template within your app. Existing template with specified external_id will be updated with a new document.
folder_nameThe folder's name to which the template should be created.
shared_linkset to true to make the template available via a shared link. This will allow anyone with the link to create a submission from this template.
Create a template from Word DOCX › Responses
OK
idUnique identifier of the document template.
slugUnique slug of the document template.
nameName of the template.
preferencesTemplate preferences.
List of documents attached to the template.
List of fields to be filled in the template.
author_idUnique identifier of the author of the template.
archived_atDate and time when the template was archived.
created_atDate and time when the template was created.
updated_atDate and time when the template was updated.
sourceSource of the template.
external_idIdentifier of the template in the external system.
folder_idUnique identifier of the folder where the template is placed.
folder_nameFolder name where the template is placed.
List of documents attached to the template.
shared_linkIndicates if the template is accessible by link.
Create a template from PDF
The API endpoint provides the functionality to create a fillable document template for a PDF file. Use {{Field Name;role=Signer1;type=date}} text tags to define fillable fields in the document. See https://www.sealroute.com/examples/fieldtags.pdf for more text tag formats. Or specify the exact pixel coordinates of the document fields using fields param.
Related Guides
Use embedded text field tags to create a fillable form
Create a template from PDF › Request Body
nameName of the template
folder_nameThe folder's name to which the template should be created.
external_idYour application-specific unique string key to identify this template within your app. Existing template with specified external_id will be updated with a new PDF.
shared_linkset to true to make the template available via a shared link. This will allow anyone with the link to create a submission from this template.
flattenRemove PDF form fields from the documents.
remove_tagsPass false to disable the removal of {{text}} tags from the PDF. This can be used along with transparent text tags for faster and more robust PDF processing.
Create a template from PDF › Responses
OK
idUnique identifier of the document template.
slugUnique slug of the document template.
nameName of the template.
preferencesTemplate preferences.
List of documents attached to the template.
List of fields to be filled in the template.
author_idUnique identifier of the author of the template.
archived_atDate and time when the template was archived.
created_atDate and time when the template was created.
updated_atDate and time when the template was updated.
sourceSource of the template.
external_idIdentifier of the template in the external system.
folder_idUnique identifier of the folder where the template is placed.
folder_nameFolder name where the template is placed.
List of documents attached to the template.
shared_linkIndicates if the template is accessible by link.
Merge templates
The API endpoint allows you to merge multiple templates with documents and fields into a new combined template.
Merge templates › Request Body
template_idsAn array of template ids to merge into a new template.
nameTemplate name. Existing name with (Merged) suffix will be used if not specified.
folder_nameThe name of the folder in which the merged template should be placed.
external_idYour application-specific unique string key to identify this template within your app.
shared_linkset to true to make the template available via a shared link. This will allow anyone with the link to create a submission from this template.
rolesAn array of submitter role names to be used in the merged template.
Merge templates › Responses
OK
idUnique identifier of the document template.
slugUnique slug of the document template.
nameName of the template.
preferencesTemplate preferences.
List of documents attached to the template.
List of fields to be filled in the template.
author_idUnique identifier of the author of the template.
archived_atDate and time when the template was archived.
created_atDate and time when the template was created.
updated_atDate and time when the template was updated.
sourceSource of the template.
external_idIdentifier of the template in the external system.
folder_idUnique identifier of the folder where the template is placed.
folder_nameFolder name where the template is placed.
List of documents attached to the template.
shared_linkIndicates if the template is accessible by link.