Retrieve column names via API

Hi there
is there any option to retrieve column names?
Something similar to Google Sheets:
Method: spreadsheets.values.get
if range A1:X1 provided, then column names are returned.

1 Like

Make a call to the table index and read the field keys.

However, if any fields are blank, the API will not return those fields.


If all the fields are blank, then also how to retrieve the field names from the airtable API?

You can look into using the Metadata API to get all fields, even if there is no data.

1 Like