Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 5.22 KB

templatecreatedocumentfromtemplaterequest.md

File metadata and controls

27 lines (22 loc) · 5.22 KB

TemplateCreateDocumentFromTemplateRequest

Example Usage

import { TemplateCreateDocumentFromTemplateRequest } from "@documenso/sdk-typescript/models/operations";

let value: TemplateCreateDocumentFromTemplateRequest = {
  templateId: 5782.1,
  recipients: [
    {
      id: 8027.73,
      email: "[email protected]",
    },
  ],
};

Fields

Field Type Required Description
templateId number ✔️ N/A
recipients operations.TemplateCreateDocumentFromTemplateRecipientRequestBody[] ✔️ The information of the recipients to create the document with.
distributeDocument boolean Whether to create the document as pending and distribute it to recipients.
customDocumentDataId string The data ID of an alternative PDF to use when creating the document. If not provided, the PDF attached to the template will be used.
prefillFields operations.PrefillField[] The fields to prefill on the document before sending it out. Useful when you want to create a document from an existing template and pre-fill the fields with specific values.