Upload a custom sample file

Upload a file to serve as the downloadable sample file shown to end users in the importer's upload pane. When set, this file replaces the sample file that OneSchema otherwise auto-generates from the template's columns. Subject to a 5 MiB file size limit. Accepted extensions: .xlsx, .xls, .xlsm, .xlsb, .csv. Requires multipart/form-data with a single file field.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The key of the template to attach the sample file to.

Body Params
file
required

The file that end users will download when the includeExcelTemplate importer customization is enabled. Must be one of .xlsx, .xls, .xlsm, .xlsb, .csv and at most 5 MiB.

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json