Skip to main content
POST
/
bases
Create database
curl --request POST \
  --url https://tables.fillout.com/api/v1/bases \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "tables": [
    {
      "name": "<string>",
      "fields": [
        {
          "type": "<string>",
          "name": "<string>",
          "template": {}
        }
      ]
    }
  ]
}'
{
"id": "<string>",
"name": "<string>"
}
Creates a new database with complete table and field structure in a single API call.
  • Each table requires at least one field
  • Table names must be unique within your database
  • Field names must be unique within each table
  • Field types must match the Field Types Reference

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required

Database name

Minimum length: 1
tables
object[]
required

Array of table definitions to create with the database

Minimum length: 1

Response

Database created successfully

id
string
required

Unique identifier for the database

name
string
required

Name of the database

I