Quick API integration of workspace management features
A Workspace is the basic unit in DocFlow for organizing and isolating document processing tasks. Each workspace can contain file categories, review rule repositories, and other resources, facilitating multi-tenant or multi-project management.
This guide introduces how to use workspace-related APIs: create, list, get, update, and delete.
Create Workspace
Create a new workspace:
curl -X POST \ -H "x-ti-app-id: <your-app-id>" \ -H "x-ti-secret-code: <your-secret-code>" \ -H "Content-Type: application/json" \ -d '{ "name": "My Workspace", "description": "This is a workspace for processing invoices", "enterprise_id": 12345, "auth_scope": 1 }' \ "https://docflow.textin.ai/api/app-api/sip/platform/v2/workspace/create"