Skip to content

Add field

POST
/api/v1/tables/{tableId}/fields
curl --request POST \
--url https://api.cloudtable.insurge.io/api/v1/tables/example/fields \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '{ "name": "example", "type": "example", "config": { "additionalProperty": "example" }, "position": 1 }'

Create a column. type is one of the field types (text, number, single_select, …); link/button not supported via API.

tableId
required
string
Media typeapplication/json
object
name
required
string
type
required
string
config
object
key
additional properties
nullable
position
number
Examplegenerated
{
"name": "example",
"type": "example",
"config": {
"additionalProperty": "example"
},
"position": 1
}

Created

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

Bad input

Unauthorized

Not found