Create a new document from an existing template

This endpoint is deprecated, but will continue to be supported. For more details, see https://docs.documenso.com/developers/public-api.

Create a new document from an existing template. Passing in values for title and meta will override the original values defined in the template. If you do not pass in values for recipients, it will use the values defined in the template.

post/api/v1/templates/{templateId}/generate-document

Path parameters

templateIdstring required

Headers

authorizationstring required

Request body

titlestring
externalIdstring
folderIdstring

The ID of the folder to create the document in. If not provided, the document will be created in the root folder.

formValuesobject

Response

200

documentIdnumber required
externalIdstring nullable

Changes