Create database
curl --request POST \
--url https://tables.zite.com/api/v1/bases \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"tables": [
{
"name": "<string>",
"fields": [
{
"name": "<string>",
"template": {}
}
]
}
]
}
'import requests
url = "https://tables.zite.com/api/v1/bases"
payload = {
"name": "<string>",
"tables": [
{
"name": "<string>",
"fields": [
{
"name": "<string>",
"template": {}
}
]
}
]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
tables: [{name: '<string>', fields: [{name: '<string>', template: {}}]}]
})
};
fetch('https://tables.zite.com/api/v1/bases', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://tables.zite.com/api/v1/bases",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'tables' => [
[
'name' => '<string>',
'fields' => [
[
'name' => '<string>',
'template' => [
]
]
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://tables.zite.com/api/v1/bases"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"tables\": [\n {\n \"name\": \"<string>\",\n \"fields\": [\n {\n \"name\": \"<string>\",\n \"template\": {}\n }\n ]\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://tables.zite.com/api/v1/bases")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"tables\": [\n {\n \"name\": \"<string>\",\n \"fields\": [\n {\n \"name\": \"<string>\",\n \"template\": {}\n }\n ]\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://tables.zite.com/api/v1/bases")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"tables\": [\n {\n \"name\": \"<string>\",\n \"fields\": [\n {\n \"name\": \"<string>\",\n \"template\": {}\n }\n ]\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "bad4b276-f604-47ad-86e5-d2ae4f60968f",
"name": "<string>",
"tables": [
{
"id": "<string>",
"name": "<string>",
"order": 123,
"primaryFieldId": "<string>",
"fields": [
{
"id": "<string>",
"name": "<string>",
"template": {},
"order": 123
}
],
"views": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"config": {
"sorts": [
{}
],
"hiddenFieldIds": [
"<string>"
],
"fieldWidths": {},
"orderedFieldIds": [
"<string>"
]
}
}
],
"url": "https://app.zite.com/database/bad4b276-f604-47ad-86e5-d2ae4f60968f/tbl_abc123"
}
],
"createdAt": "2025-10-18T02:08:14.784Z",
"updatedAt": "2025-10-18T02:08:14.784Z",
"url": "https://app.zite.com/database/bad4b276-f604-47ad-86e5-d2ae4f60968f",
"workspaceId": "<string>"
}Databases
Create Database
Creates a new database with tables and fields.
POST
/
bases
Create database
curl --request POST \
--url https://tables.zite.com/api/v1/bases \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"tables": [
{
"name": "<string>",
"fields": [
{
"name": "<string>",
"template": {}
}
]
}
]
}
'import requests
url = "https://tables.zite.com/api/v1/bases"
payload = {
"name": "<string>",
"tables": [
{
"name": "<string>",
"fields": [
{
"name": "<string>",
"template": {}
}
]
}
]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
tables: [{name: '<string>', fields: [{name: '<string>', template: {}}]}]
})
};
fetch('https://tables.zite.com/api/v1/bases', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://tables.zite.com/api/v1/bases",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'tables' => [
[
'name' => '<string>',
'fields' => [
[
'name' => '<string>',
'template' => [
]
]
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://tables.zite.com/api/v1/bases"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"tables\": [\n {\n \"name\": \"<string>\",\n \"fields\": [\n {\n \"name\": \"<string>\",\n \"template\": {}\n }\n ]\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://tables.zite.com/api/v1/bases")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"tables\": [\n {\n \"name\": \"<string>\",\n \"fields\": [\n {\n \"name\": \"<string>\",\n \"template\": {}\n }\n ]\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://tables.zite.com/api/v1/bases")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"tables\": [\n {\n \"name\": \"<string>\",\n \"fields\": [\n {\n \"name\": \"<string>\",\n \"template\": {}\n }\n ]\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "bad4b276-f604-47ad-86e5-d2ae4f60968f",
"name": "<string>",
"tables": [
{
"id": "<string>",
"name": "<string>",
"order": 123,
"primaryFieldId": "<string>",
"fields": [
{
"id": "<string>",
"name": "<string>",
"template": {},
"order": 123
}
],
"views": [
{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"config": {
"sorts": [
{}
],
"hiddenFieldIds": [
"<string>"
],
"fieldWidths": {},
"orderedFieldIds": [
"<string>"
]
}
}
],
"url": "https://app.zite.com/database/bad4b276-f604-47ad-86e5-d2ae4f60968f/tbl_abc123"
}
],
"createdAt": "2025-10-18T02:08:14.784Z",
"updatedAt": "2025-10-18T02:08:14.784Z",
"url": "https://app.zite.com/database/bad4b276-f604-47ad-86e5-d2ae4f60968f",
"workspaceId": "<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
Enter your Zite API key. Format: Bearer <api_key>
Body
application/json
Response
Database created successfully
Unique UUID identifier for the database
Example:
"bad4b276-f604-47ad-86e5-d2ae4f60968f"
Name of the database
List of tables in the database
Show child attributes
Show child attributes
ISO timestamp of when the database was created
Example:
"2025-10-18T02:08:14.784Z"
ISO timestamp of when the database was last updated
Example:
"2025-10-18T02:08:14.784Z"
URL to view this database in the app
Example:
"https://app.zite.com/database/bad4b276-f604-47ad-86e5-d2ae4f60968f"
Workspace ID that owns this database
Last modified on April 28, 2026
Was this page helpful?
⌘I