Skip to main content
POST
POST /projects/{project}/column/{table}
Adds a non-primary column to an existing table.

Endpoint details

string
required
Bearer pat_... (Project API Token). Keep this token on your backend/server.
string
required
Project slug. This acts as the Project ID in API paths.
string
required
Table name inside the project.
boolean
required
true for a successful response and false for an error response.
object | null
Endpoint-specific response data when ok is true; null on errors.
object | null
Error code and message when ok is false; null on success.
string
required
Request identifier you can use when troubleshooting a specific API call.

Authentication

Project API Token.

Parameters

Path: table required. Body: column_name required; column_type optional default TEXT; is_nullable optional default true; default_value optional; is_unique optional default false; is_primary is rejected for added columns.

Request examples

Basic request:
Full request:

Response examples

Success:
Error or alternate response: