Templates
Download the template's sample file
Download the template's sample file. If a custom file has been uploaded via POST /v1/templates/{key}/sample-file it is returned verbatim; otherwise OneSchema generates a sample file on the fly from the template's columns.
get/v1/templates/{key}/sample-file
Path parameters
keystring required
The key of the template to download the sample file from.
Response
Successful response. The response's Content-Type matches the file format: xlsx when no custom file has been uploaded (or an xlsx custom file was uploaded), and the corresponding MIME type for other allowed extensions (xls, xlsm, xlsb, csv).