跳转到主要内容
POST
/
import
/
{baseId}
cURL
curl --request POST \
  --url http://127.0.0.1:3000/api/import/{baseId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "worksheets": {},
  "attachmentUrl": "<string>",
  "fileType": "csv",
  "tz": "<string>",
  "notification": true
}
'
{
  "id": "<string>",
  "name": "<string>",
  "dbTableName": "<string>",
  "description": "<string>",
  "icon": "<string>",
  "order": 123,
  "lastModifiedTime": "<string>",
  "defaultViewId": "<string>"
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

baseId
string
必填

请求体

application/json
worksheets
object
必填
attachmentUrl
string
必填
fileType
enum<string>
必填
可用选项:
csv,
excel
tz
string
必填

The time zone that should be used to format dates

notification
boolean

响应

201 - application/json

Returns data about a table without records

id
string
必填

The id of table.

name
string
必填

The name of the table.

dbTableName
string
必填

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.

Last modified on December 10, 2025