Download a document template file

Downloads the file attached to a document template as a binary response. The server supplies the original filename in Content-Disposition.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Path parameters

document_idintegerRequired>=1
Document template ID.

Response headers

Content-DispositionstringOptional
Content-Lengthinteger

Response

Attached document file.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error