Skip to main content
POST
/
{databaseId}
/
tables
Error
A valid request URL is required to generate request examples
{
  "message": "Table created successfully",
  "transaction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "table": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "description": "<string>",
    "ref_table_name": "<string>",
    "created_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Enter token in format (Bearer )

Path Parameters

databaseId
string<uuid>
required

Database ID

Body

application/json

Table configuration

name
string
required

Display name for the table

Maximum string length: 255
Example:

"Users Table"

ref_table_name
string
required

Actual database table name (must start with letter, contain only letters, numbers, underscores)

Maximum string length: 63
Pattern: ^[a-zA-Z][a-zA-Z0-9_]*$
Example:

"users"

description
string | null

Optional description

Maximum string length: 1000
Example:

"Table for storing user information"

schema
object[] | null

Optional schema definition

Response

Table created successfully

message
string
Example:

"Table created successfully"

transaction_id
string<uuid>
table
object