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
  • URL: https://api.banksync.io/v1/tables/{tableId}/fields
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

tableIdstring required

Table ID

Request body

labelstring 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
configobject
requiredboolean
uniqueboolean
iconstring
descriptionstring
sourcestring
positioninteger
expectedSchemaVersioninteger required

Response

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

successtrue required

Changes

No recorded changes to this operation across all 1 revision of this API.