POST /folders/{folderId}/sheets/import

Imports CSV or XLSX data into a new sheet in the specified folder.

Note the following:

Servers

Request headers

Name Type Required Description
Content-Type String Yes

Required for POST request to import a sheet from CSV/XLSX file.

  • For CSV files, use: Content-Type: text/csv
  • For XLSX files, use: Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Possible values:

  • "text/csv"
  • "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
Content-Disposition String No

Should be equal to "attachment" to tell the API that a file is in the body of the POST request, followed by a semicolon, followed by filename= and the URL-encoded filename in quotes

Query parameters

Name Type Required Description
sheetName String Yes

Desired name of the sheet.

headerRowIndex Number No

A zero-based integer indicating the row number to use for column names. Rows before this are omitted. If not specified, the default values are Column1, Column2, etc.

primaryColumnIndex Number No

A zero-based integer indicating the column to designate as primary.

Default value: 0

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.