Tables
Retrieves all tables within a module
Enter your Workspace API key.
API keys can be generated and managed within the Workspace Integration settings in the Ninox app.
Module name
crmPattern: ^[a-z0-9_]+$Workspace ID
5rdco4s18swuPattern: ^[a-z0-9]+$Tables retrieved successfully
Unauthorized
Module not found
Internal server error
GET /api/v1/workspace/{workspaceId}/modules/{moduleName}/tables HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"createRoles": [
"text"
],
"deleteRoles": [
"text"
],
"fields": [
{
"expression": "text",
"expressionErrors": [
{
"column": 1,
"line": 1,
"message": "text"
}
],
"index": true,
"labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"name": "text",
"optionColor": "text",
"optionIcon": "text",
"optionName": "text",
"options": [
{
"color": "text",
"icon": "text",
"id": "text",
"labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"name": "text",
"order": 1,
"textColor": "text"
}
],
"readRoles": [
"text"
],
"refTableId": "text",
"required": true,
"search": true,
"type": "any",
"unique": true,
"variant": "text",
"writeRoles": [
"text"
]
}
],
"hasFiles": true,
"hasGlobalSearch": true,
"hasHistory": true,
"icon": {
"color": "text",
"filling": 0,
"icon": "text"
},
"isEmailLinkingEnabled": true,
"isHidden": true,
"labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"name": "text",
"readRoles": [
"text"
],
"writeRoles": [
"text"
]
}
]
}Creates a new table in a module
Enter your Workspace API key.
API keys can be generated and managed within the Workspace Integration settings in the Ninox app.
Module name
crmPattern: ^[a-z0-9_]+$Workspace ID
5rdco4s18swuPattern: ^[a-z0-9]+$Table name
^[a-z0-9_]+$Enable files for the table
Enable global search for the table
Enable history for the table
Enable email linking for the table
Hide the table
Table created successfully
Bad request (e.g., table already exists)
Unauthorized
Workspace or module not found
Internal server error
POST /api/v1/workspace/{workspaceId}/modules/{moduleName}/tables HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 91
{
"icon": {
"color": "#3381ff",
"icon": "school"
},
"labels": {
"": "Full table"
},
"name": "full_table"
}{
"data": {
"createRoles": [
"text"
],
"deleteRoles": [
"text"
],
"fields": [
{
"expression": "text",
"expressionErrors": [
{
"column": 1,
"line": 1,
"message": "text"
}
],
"index": true,
"labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"name": "text",
"optionColor": "text",
"optionIcon": "text",
"optionName": "text",
"options": [
{
"color": "text",
"icon": "text",
"id": "text",
"labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"name": "text",
"order": 1,
"textColor": "text"
}
],
"readRoles": [
"text"
],
"refTableId": "text",
"required": true,
"search": true,
"type": "any",
"unique": true,
"variant": "text",
"writeRoles": [
"text"
]
}
],
"hasFiles": true,
"hasGlobalSearch": true,
"hasHistory": true,
"icon": {
"color": "text",
"filling": 0,
"icon": "text"
},
"isEmailLinkingEnabled": true,
"isHidden": true,
"labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"name": "text",
"readRoles": [
"text"
],
"writeRoles": [
"text"
]
}
}Retrieves detailed information about a specific table, including its fields
Enter your Workspace API key.
API keys can be generated and managed within the Workspace Integration settings in the Ninox app.
Module name
crmPattern: ^[a-z0-9_]+$Table name
contactsPattern: ^[a-z0-9_]+$Workspace ID
5rdco4s18swuPattern: ^[a-z0-9]+$Table details retrieved successfully
Unauthorized
Table not found
Internal server error
GET /api/v1/workspace/{workspaceId}/modules/{moduleName}/tables/{tableName} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"createRoles": [
"text"
],
"deleteRoles": [
"text"
],
"fields": [
{
"expression": "text",
"expressionErrors": [
{
"column": 1,
"line": 1,
"message": "text"
}
],
"index": true,
"labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"name": "text",
"optionColor": "text",
"optionIcon": "text",
"optionName": "text",
"options": [
{
"color": "text",
"icon": "text",
"id": "text",
"labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"name": "text",
"order": 1,
"textColor": "text"
}
],
"readRoles": [
"text"
],
"refTableId": "text",
"required": true,
"search": true,
"type": "any",
"unique": true,
"variant": "text",
"writeRoles": [
"text"
]
}
],
"hasFiles": true,
"hasGlobalSearch": true,
"hasHistory": true,
"icon": {
"color": "text",
"filling": 0,
"icon": "text"
},
"isEmailLinkingEnabled": true,
"isHidden": true,
"labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"name": "text",
"readRoles": [
"text"
],
"writeRoles": [
"text"
]
}
}Deletes a table in a module
Enter your Workspace API key.
API keys can be generated and managed within the Workspace Integration settings in the Ninox app.
Module name
crmPattern: ^[a-z0-9_]+$Table name
contactsPattern: ^[a-z0-9_]+$Workspace ID
5rdco4s18swuPattern: ^[a-z0-9]+$Table deleted successfully
Unauthorized
Table not found
Internal server error
DELETE /api/v1/workspace/{workspaceId}/modules/{moduleName}/tables/{tableName} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"id": "text"
}
}Updates an existing table in a module
Enter your Workspace API key.
API keys can be generated and managed within the Workspace Integration settings in the Ninox app.
Module name
crmPattern: ^[a-z0-9_]+$Table name
contactsPattern: ^[a-z0-9_]+$Workspace ID
5rdco4s18swuPattern: ^[a-z0-9]+$Table name
^[a-z0-9_]+$Enable files for the table
Enable global search for the table
Enable history for the table
Enable email linking for the table
Hide the table
Table updated successfully
Bad request (e.g., table already exists)
Unauthorized
Table not found
Internal server error
PATCH /api/v1/workspace/{workspaceId}/modules/{moduleName}/tables/{tableName} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 313
{
"createRoles": [
"editor",
"admin"
],
"deleteRoles": [
"admin"
],
"hasFiles": true,
"hasGlobalSearch": true,
"hasHistory": true,
"icon": {
"color": "#3381ff",
"icon": "school"
},
"isEmailLinkingEnabled": true,
"isHidden": true,
"labels": {
"": "Full table"
},
"name": "full_table",
"readRoles": [
"admin",
"editor"
],
"writeRoles": [
"editor",
"admin"
]
}{
"data": {
"createRoles": [
"text"
],
"deleteRoles": [
"text"
],
"fields": [
{
"expression": "text",
"expressionErrors": [
{
"column": 1,
"line": 1,
"message": "text"
}
],
"index": true,
"labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"name": "text",
"optionColor": "text",
"optionIcon": "text",
"optionName": "text",
"options": [
{
"color": "text",
"icon": "text",
"id": "text",
"labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"name": "text",
"order": 1,
"textColor": "text"
}
],
"readRoles": [
"text"
],
"refTableId": "text",
"required": true,
"search": true,
"type": "any",
"unique": true,
"variant": "text",
"writeRoles": [
"text"
]
}
],
"hasFiles": true,
"hasGlobalSearch": true,
"hasHistory": true,
"icon": {
"color": "text",
"filling": 0,
"icon": "text"
},
"isEmailLinkingEnabled": true,
"isHidden": true,
"labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"name": "text",
"readRoles": [
"text"
],
"writeRoles": [
"text"
]
}
}Zuletzt aktualisiert
War das hilfreich?