POST /projects/{project}/table
Tables
POST /projects/{project}/table
Creates a table and its initial columns.
POST
POST /projects/{project}/table
Creates a table and its initial columns.
Full request:
Error or alternate response:
Endpoint details
Bearer
pat_... (Project API Token). Keep this token on your backend/server.Project slug. This acts as the Project ID in API paths.
true for a successful response and false for an error response.Endpoint-specific response data when
ok is true; null on errors.Error code and message when
ok is false; null on success.Request identifier you can use when troubleshooting a specific API call.
Authentication
Project API Token.Parameters
Body:table_name required identifier; display_name optional string; columns optional array. If no primary key is supplied, id INTEGER PRIMARY KEY AUTOINCREMENT is prepended.
Notes
Table names must be valid identifiers. If you create a column without passingcolumn_type, ZangTable uses TEXT.