Tables

Add a field

Add one field. The key is minted server-side from the label and is immutable — renaming a field never moves its values. Relation fields are created through POST /{tableId}/relations so both sides land together.

post/v1/tables/{tableId}/fields

Request

  • Base URL
    https://api.banksync.io
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Path parameters

tableId, string required

Table ID

Request body

object required
label, string required
kind, 'text' | 'long_text' | 'number' | 'checkbox' | 'date' | 'datetime' | 'single_select' | 'multi_select' | 'status' | 'url' | 'email' | 'phone' | 'rating' | 'user' | 'auto_number' | 'attachment' | 'json' | 'relation' | 'formula' | 'created_time' | 'last_edited_time' | 'created_by' | 'last_edited_by' required
config, object
format, union
required, boolean
unique, boolean
icon, string
description, string
default, union
source, string
preset, union
position, integer
expectedSchemaVersion, integer required

Response

Field added; the table is returned with its new field list

object required
success, true required
data, object required

Changes

No recorded changes to this operation across all 6 revisions of this API.