Skip to main content
GET
/
api
/
app-api
/
sip
/
platform
/
v2
/
category
/
list
Get Workspace File Category List
curl --request GET \
  --url https://docflow.textin.com/api/app-api/sip/platform/v2/category/list \
  --header 'x-ti-app-id: <api-key>' \
  --header 'x-ti-secret-code: <api-key>'
{
  "code": 200,
  "msg": "<string>",
  "result": {
    "total": 100,
    "page": 1,
    "page_size": 20,
    "categories": [
      {
        "id": "1234567890",
        "name": "Invoice",
        "description": "Invoice category description",
        "enabled": 0
      }
    ]
  }
}

Authorizations

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

Query Parameters

workspace_id
string
required

Workspace ID

Example:

"1234567890"

page
integer
default:1

Page number

page_size
integer
default:1000

Page size

enabled
enum<string>
default:1

Enabled status

  • all: All
  • 1: Enabled
  • 0: Disabled
  • 2: Draft
Available options:
all,
1,
0,
2

Response

200 - application/json

Successfully retrieved workspace file category list

code
integer
required

Status code

Example:

200

msg
string
required

Status description

result
object