Skip to main content
POST
/
noCo
/
api
/
v2
/
workspaces
/
{workspaceId}
/
tables
/
{tableId}
/
columns
Add Lookup Column
curl --request POST \
  --url https://be.datagol.ai/noCo/api/v2/workspaces/{workspaceId}/tables/{tableId}/columns \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "columns": [
    {
      "description": "",
      "uiMetadata": {
        "title": "lookup column"
      },
      "uiDataType": "LOOKUP",
      "colOptions": {
        "linkColumnId": "21224153-2f85-4b24-a306-4cfbc7e73f70",
        "lookupColumnId": "9b5e408d-69bb-42ca-8fa4-ba00f7994356"
      },
      "name": "lookup_column"
    }
  ]
}
'

Authorizations

Authorization
string
header
required

This API uses OAuth 2.0 with the authorization code grant flow.

Path Parameters

workspaceId
string<uuid>
required

Workspace identifier

tableId
string<uuid>
required

Table identifier where the lookup column will be created

Body

application/json
columns
object[]
required

Response

200

Lookup column(s) created successfully