---
title: "Create Column"
method: POST
path: "/api/tf/tables/{table_id}/columns"
tags: ["tableflow"]
---

# Create Column

`POST /api/tf/tables/{table_id}/columns`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/tf/tables/{table_id}/columns`
- Auth: HTTP bearer

## Path parameters

- `table_id` string, uuid, required

## Request body

- SrcTableflowSchemasColumnCreate: Body for `POST /tables/{id}/columns`. `cell_type` is restricted to the P1.1 supported set; the route layer 420s on anything else so the FE gets a clean error rather than a silent JSONB write the renderer can't display.
  - `name` string, required
  - `cell_type` string, required
  - `cell_config` object
  - `width_px` integer, nullable

## Response `201`

Successful Response

- ColumnResponse
  - `id` string, uuid, required
  - `table_id` string, uuid, required
  - `name` string, required
  - `cell_type` string, required
  - `cell_config` object, required
  - `order_key` string, required
  - `width_px` integer, nullable, required
  - `pinned_side` string, nullable, required
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tintin-x/apis/tintin-api.md) · [All operations](https://skmtc.dev/tintin-x/apis/tintin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tintin-x/apis/tintin-api/revisions/8839a8d0a66c?raw)
