Upload Master Data Sheet

View as Markdown

Creates a new master data sheet by uploading a CSV, XLSX, or JSON file as multipart form data. Optional fields: delimiter (for CSV files) and column_config (per-column configuration). Returns the new sheet’s master_data_id, which the other master data endpoints use as the sheetId path parameter.

Authentication

x-api-keystring
API key issued by Staple.
AuthorizationBearer
JWT obtained from the login endpoint.

Request

This endpoint expects a multipart form containing a file.
filefileRequired
File to upload
delimiterstringRequired
column_configstringRequired

Response

OK