Docs

Create Document From Template

POST /events/{eventId}/documents/from-template

POST/events/{eventId}/documents/from-template

Creates a doc in the event drive's folder (root when folderId is omitted) from an organization or global template, with the template's content and filters, and returns its id. The name is the one sent, else the template's title. Needs Edit on the folder or the drive root; 404 for a folder outside the event's drive. Template ids come from DynamicDocs_GetDocumentTemplates; folder ids from Drives_GetFileFolders.

Path Parameters

FieldTypeRequiredDescription
eventIduuidRequired

Request Body

FieldTypeRequiredDescription
folderIduuidOptional
templateIduuidOptional
namestringOptional

Response

Type: uuid