Skip to main content
POST
/
api
/
app-api
/
sip
/
platform
/
v2
/
category
/
tables
/
batch_update
Update File Category Tables
curl --request POST \
  --url https://docflow.textin.com/api/app-api/sip/platform/v2/category/tables/batch_update \
  --header 'Content-Type: application/json' \
  --header 'x-ti-app-id: <api-key>' \
  --header 'x-ti-secret-code: <api-key>' \
  --data '
{
  "workspace_id": "1234567890",
  "category_id": "1234567890",
  "tables": [
    {
      "table_id": "1234567890",
      "name": "<string>",
      "prompt": "<string>",
      "collect_from_multi_table": true
    }
  ]
}
'
{
  "code": 200,
  "msg": "<string>"
}

Authorizations

x-ti-app-id
string
header
required
x-ti-secret-code
string
header
required

Body

application/json
workspace_id
string
required

Workspace ID

Example:

"1234567890"

category_id
string
required

File category ID

Example:

"1234567890"

tables
object[]
required

List of tables to update

Minimum array length: 1

Response

200 - application/json

Successfully updated tables

code
integer
required

Status code

Example:

200

msg
string
required

Status description