Skip to main content
POST
/
bases
/
{databaseId}
/
tables
/
{tableId}
/
fields
Create field
curl --request POST \
  --url https://tables.fillout.com/api/v1/bases/{databaseId}/tables/{tableId}/fields \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "single_select",
  "name": "Status",
  "template": {
    "options": [
      {
        "label": "Active",
        "color": "green"
      },
      {
        "label": "Inactive",
        "color": "gray"
      }
    ]
  }
}'
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"template": {},
"order": 123
}
Adds a new field to an existing table using either the table ID or table name.
Both type and name are required. The template object structure varies by field type - see Field Types Reference for complete details

Example Field Creation

Here’s how to create a single select field:
{
  "type": "single_select",
  "name": "Status",
  "template": {
    "options": [
      {"label": "Active", "color": "#10b981"},
      {"label": "Inactive", "color": "#6b7280"},
      {"label": "Pending", "color": "#f59e0b"},
      {"label": "Archived", "color": "#ef4444"}
    ]
  }
}

Authorizations

Authorization
string
header
required

Enter your Fillout API key. Format: Bearer <api_key>

Path Parameters

databaseId
string
required

The unique identifier of the database

tableId
string
required

The unique identifier of the table. You can also use the table name instead of the ID.

Body

application/json
type
string
required

Field type - see Field Types Reference for available options

name
string
required

Field name

Minimum length: 1
template
object

Field-specific configuration options (optional - uses defaults if not provided). See Field Types Reference for detailed template structure by field type.

Response

Field created successfully

id
string
required

Unique identifier for the field

name
string
required

Name of the field

type
string
required

Field type - see Field Types Reference for complete list of available types and their configurations

template
object
required

Field-specific configuration options. See Field Types Reference for detailed template structure by field type.

order
integer
required

Display order of the field

I