Docs
Create Document From Template
POST /events/{eventId}/documents/from-template
POST
/events/{eventId}/documents/from-templateCreates 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
| Field | Type | Required | Description |
|---|---|---|---|
| eventId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| folderId | uuid | Optional | |
| templateId | uuid | Optional | |
| name | string | Optional |
Response
Type: uuid