Sheets

Upload a CSV or Excel file

Upload a CSV (.csv) or Excel (.xlsx) file into OneSchema. The file should be sent as multipart/form-data and include the filename and the file's media type.

If no embed_id is provided, the file is uploaded into the Workspaces product. Without a workspace_id, it goes into your default team workspace; pass a workspace_id to target a specific workspace. Provide embed_id only when you want to import the file into a specific Embed instead.

post/v1/sheets

Query parameters

sheet_namestring

If importing an Excel spreadsheet, the name of the sheet that should be imported.

workspace_idinteger

[Legacy] The OneSchema id of the workspace to import into. If no workspace id is specified, the default team workspace is used.

embed_idinteger

The id of the Embed which the file will be imported into. Omit this to upload into the Workspaces product instead of an Embed.

Response

The request has succeeded.

Changes