post https://{server}/api/v2.1/dtables/
Create a new base.
When you create a new base with this API request or on the web UI, SeaTable automatically adds the following content into the new base:
- A new table "Table1" (with the
table_id
of0000
), and - A "Default View" (with the
view_id
of0000
), and - A new text column "Name" (with the column's
key
of0000
); - Three empty rows (The row's IDs are randomly generated. Use the call List Rows to see their IDs).
Optionally, you can select icons and colors from the following list to customize your base's icon in the web UI:
SeaTable base icon list
DTABLE_ICON_LIST = [
'icon-worksheet',
'icon-task-management',
'icon-software-test-management',
'icon-design-assignment',
'icon-video-production',
'icon-market-analysis',
'icon-data-analysis',
'icon-product-knowledge-base',
'icon-asset-management',
'icon-financial-information-record',
'icon-dollar',
'icon-company-inventory',
'icon-customer-inquiry',
'icon-customer-list',
'icon-product-list',
'icon-store-address',
'icon-leave-record',
'icon-administrative-matters-calendar',
'icon-customer-relationship',
'icon-teachers-list',
'icon-book-library',
'icon-server-management',
'icon-time-management',
'icon-work-log',
'icon-online-promotion',
'icon-research',
'icon-user-interview',
'icon-client-review',
'icon-club-members',
]
SeaTable base icon color list
DTABLE_ICON_COLORS = [
'#FF8000',
'#FFB600',
'#E91E63',
'#EB00B1',
'#7626FD',
'#972CB0',
'#1DDD1D',
'#4CAF50',
'#02C0FF',
'#00C9C7',
'#1688FC',
'#656463'
]
You can create a base in your personal workspace ("My bases"), or in a group you have write permission to. Just specify the optional workspace_id
parameter in the request.
The returned id
value is the ID of your base, this numeric ID is to be distinguished from the base's UUID.