Skip to main content
POST
Create database
  • tables is optional: omit it to create an empty database
  • Each table requires at least one field
  • lookup and rollup fields can’t be created here. Add them with Create Field once the database exists
  • 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 Zite API key. Format: Bearer <api_key>

Body

application/json
name
string
required

Database name

Minimum string length: 1
tables
object[]

Tables to create with the database. Optional: omit it (or send an empty array) to create an empty database.

Response

Database created successfully

id
string
required

Unique identifier for the database

Example:

"cd6ff4eff7845d96"

name
string
required

Name of the database

tables
object[]
required

List of tables in the database

createdAt
string<date-time>
required

ISO timestamp of when the database was created

Example:

"2025-10-18T02:08:14.784Z"

updatedAt
string<date-time>
required

ISO timestamp of when the database was last updated

Example:

"2025-10-18T02:08:14.784Z"

url
string<uri>
required

URL to view this database in the app

Example:

"https://app.zite.com/database/cd6ff4eff7845d96"

workspaceId
integer

ID of the workspace that owns this database. Omitted when the database has none.