Download the file of a Word or PowerPoint template
GET/templates/:id/versions/:which/file
which as for getting a version. Requires template:read. The file is served only here, never from the CDN, as a download named <slug>-v<number>.docx or .pptx. A template of another kind answers 404 not_found.
Request
Responses
- 200
- 404
- default
The file.
Not found for the key: not_found, or template_not_found for a template or version. Templates, renders, files and webhooks are looked up in the workspace of the key, shared partials and workspaces in its organisation. A template outside the template list of a key is not found for that key.
Error (RFC 9457 problem details).