Choose a template (private or public) and create a document

To create a new document based on a template assigned to your account via the Template ID:

mutation createTemplateBasedDocument {
	createDocument(input: {
    title: "This is my test document"
    subTitle: "This is my subtitle"
    coverPage: 0
    template: 1234
    showCoverPage: false
    colorScheme: Color1
    recipients: [{
      email: "[email protected]"
      firstName: "John"
      lastName: "Smith"
      phone: "0499889988"
      address: "123 Pitt Street Sydney NSW 2000"
    }]
  }) {
    id
    name
    owner
  }
}