Skip to content

Create base

POST
/api/v1/bases
curl --request POST \
--url https://api.cloudtable.insurge.io/api/v1/bases \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '{ "name": "example", "workspaceId": "example", "orgId": "example" }'

Creates a base inside an organization. Pass a workspaceId, or an orgId (its default workspace is used), or neither if you belong to exactly one org. A base is never created without an org.

Media typeapplication/json
object
name
required
string
workspaceId
string
orgId
string
Examplegenerated
{
"name": "example",
"workspaceId": "example",
"orgId": "example"
}

Created

Media typeapplication/json
object
id
required
string
name
string
Examplegenerated
{
"id": "example",
"name": "example"
}

Ambiguous or unauthorized org/workspace

Unauthorized