D4Sign icon

D4Sign

Interact with the D4Sign API

Template → Create Document from HTML Template

AI-generated

Summary

Create a new document in a specified safe and optional folder by filling an HTML template with provided variables.

Inputs

  • Safe UUID (required) — UUID of the safe where the document will be created
  • Folder UUID — Optional UUID of the folder within the safe where the document will be created
  • Template UUID (required) — UUID of the template to use for creating the document
  • New Document Name (required) — Name to assign to the new document
  • Template Variables (JSON) — JSON object containing variables to fill the template; this object is wrapped under the selected Template UUID

Output shape

a single record

Returns the API response object representing the created document, presented as JSON with the output paired to the input item.

Examples

Example 1: Create a document from an HTML template

Provide the Safe UUID, optionally a Folder UUID, Template UUID, a desired document name, and optionally a JSON object of template variables to fill the template with.

Links

Discussion