---
title: "POST /import/{baseId}"
method: POST
path: "/import/{baseId}"
tags: ["import"]
---

# POST /import/{baseId}

`POST /import/{baseId}`

create table from file

## Path parameters

- `baseId` string, required

## Request body

- object
  - `worksheets` object, required
  - `attachmentUrl` string, required
  - `fileType` 'csv' | 'excel', required
  - `notification` boolean
  - `tz` string, required — The time zone that should be used to format dates

## Response `201`

Returns data about a table without records

- object
  - `id` string, required — The id of table.
  - `name` string, required — The name of the table.
  - `dbTableName` string, required — Table name in backend database. Limitation: 1-63 characters, start with letter, can only contain letters, numbers and underscore, case insensitive, cannot be duplicated with existing db table name in the base.
  - `description` string — The description of the table.
  - `icon` string, emoji — The emoji icon string of the table.
  - `order` number
  - `lastModifiedTime` string — The last modified time of the table.
  - `defaultViewId` string — The default view id of the table.

---

[API](https://skmtc.net/teable/apis/teable-app.md) · [All operations](https://skmtc.net/teable/apis/teable-app/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/teable/teable-app/revisions/7515f3b33d79/schema)
