跳转到主要内容
GET
/
api
/
app-api
/
sip
/
platform
/
v2
/
workspace
/
list
获取空间列表
curl --request GET \
  --url https://docflow.textin.com/api/app-api/sip/platform/v2/workspace/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,
    "workspaces": [
      {
        "workspace_id": "1234567890",
        "name": "我的工作空间",
        "description": "这是一个用于处理发票的工作空间",
        "auth_scope": 1,
        "manage_account_id": "admin_123456",
        "manage_account_name": "张三",
        "callback_url": "https://example.com/callback",
        "callback_retry_time": 3
      }
    ]
  }
}

授权

x-ti-app-id
string
header
必填
x-ti-secret-code
string
header
必填

查询参数

enterprise_id
integer<int64>
必填

企业id

page
integer
默认值:1

页码

示例:

1

page_size
integer
默认值:20

每页数量

示例:

20

响应

200 - application/json

成功获取空间列表

code
integer
必填

状态码

示例:

200

msg
string
必填

状态描述

result
object