Skip to main content
PATCH
/
api
/
v2
/
public
/
tables
/
:table_id
/
columns
/
add
curl -X PATCH "https://app.refold.ai/api/v2/public/tables/{table_id}/columns/add" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "linked_account_id: YOUR_LINKED_ACCOUNT_ID" \
  -H "Content-Type: application/json" \
  -d '{ "columns": ["score"] }'
{
  "columns": ["email", "stage", "score"]
}
Add one or more columns to a persistent table. Returns the table’s full column list after the change.

Authentication

x-api-key
string
required
Your Refold API key.
linked_account_id
string
required
The linked account that owns the table.

Path Parameters

table_id
string
required
The table ID.

Body Parameters

columns
array
required
Column names to add.

Response

columns
array
The table’s columns after adding.
{
  "columns": ["email", "stage", "score"]
}
curl -X PATCH "https://app.refold.ai/api/v2/public/tables/{table_id}/columns/add" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "linked_account_id: YOUR_LINKED_ACCOUNT_ID" \
  -H "Content-Type: application/json" \
  -d '{ "columns": ["score"] }'