Purpose: Creates a new LINK type column in a table, establishing a bidirectional relationship between a parent table and a child/associated table.
This endpoint supports:
⚠️ Note: Links are bidirectional. When a link is created from the parent with relation type
HAS_MANY, a corresponding column with relation typeBELONGS_TOis automatically created in the child table.
POST /noCo/api/v2/workspaces/{workspaceId}/tables/{tableId}/column
| Parameter | Type | Required | Description |
|---|---|---|---|
| workspaceId | UUID | ✅ Yes | Workspace identifier |
| tableId | UUID | ✅ Yes | Source (parent) table identifier |
Requires Bearer JWT Token
Authorization: Bearer <token>
| Header | Required |
|---|---|
| Authorization | ✅ Yes |
| Content-Type: application/json | ✅ Yes |
{
"uiDataType": "LINK",
"colOptions": {
"relationType": "HAS_MANY",
"associateTableId": "uuid",
"associateWorkspaceId": "uuid"
},
"uiMetadata": {
"title": "string"
},
"settings": {},
"name": "string"
}
| Field | Type | Required | Description |
|---|---|---|---|
| uiDataType | string | ✅ Yes | Must be LINK |
| colOptions.relationType | string | ✅ Yes | Relation type: HAS_MANY, ONE_TO_ONE, or MANY_TO_MANY |
| colOptions.associateTableId | UUID | ✅ Yes | The child or linked table ID |
| colOptions.associateWorkspaceId | UUID | ✅ Yes | The workspace ID of the child (associated) table |
| uiMetadata.title | string | ✅ Yes | Display name shown in the UI |
| name | string | ✅ Yes | Internal column name — must be unique within the table |
curl -X POST https://be.datagol.ai/noCo/api/v2/workspaces/{workspaceId}/tables/{tableId}/column \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"uiDataType": "LINK",
"colOptions": {
"relationType": "HAS_MANY",
"associateTableId": "6a175502-6458-4314-b4c5-3c2f29626dea",
"associateWorkspaceId": "b3e1a902-1234-4abc-9def-7f8a90bc1234"
},
"uiMetadata": {
"title": "people"
},
"name": "people"
}'
Creates a LINK column in the source table.
Supports:
• HAS_MANY, ONE_TO_ONE, and MANY_TO_MANY relation types
• Bidirectional — a BELONGS_TO column is auto-created in the child table
• Column name must be unique within the table
• Returns the full column object including colOptions with resolved IDs
This API uses OAuth 2.0 with the authorization code grant flow.
Workspace identifier
Source (parent) table identifier