Skip to main content
Solved

Create new column via script/api

  • May 13, 2022
  • 2 replies
  • 141 views

Forum|alt.badge.img

I found multiple posts stating we can’t create new columns/fields on a base but then I also see posts like the following two where the script looks like it’s calling a create() method. Are we able to create new columns/fields through a script?

Use case here is checking two view and automatically creating any fields that exist on table 1 that doesnt exist on table 2. Would also be nice if we could then adjust the automation actions to automatically grab any newly added column/field and it’s value.

Best answer by kuovonne

The code in your links is for creating new records/rows, not creating new fields/columns.

Currently it is not possible to create new fields/columns using the REST API. It is possible to create some new fields using Scripting app (but not automation scripts). Custom apps can also create new fields with selected field types.

2 replies

kuovonne
Forum|alt.badge.img+29
  • Brainy
  • Answer
  • May 13, 2022

The code in your links is for creating new records/rows, not creating new fields/columns.

Currently it is not possible to create new fields/columns using the REST API. It is possible to create some new fields using Scripting app (but not automation scripts). Custom apps can also create new fields with selected field types.


Dmitrii_N
Forum|alt.badge.img+4
  • Participating Frequently
  • January 8, 2025

Nowadays it is possible using meta API:  https://airtable.com/developers/web/api/create-field