跳转到主要内容
GET
/
api
/
app-api
/
sip
/
platform
/
v2
/
workspace
/
get
获取空间详情
curl --request GET \
  --url https://docflow.textin.com/api/app-api/sip/platform/v2/workspace/get \
  --header 'x-ti-app-id: <api-key>' \
  --header 'x-ti-secret-code: <api-key>'
{
  "code": 200,
  "msg": "<string>",
  "result": {
    "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
必填

查询参数

workspace_id
string
必填

空间ID

示例:

"1234567890"

响应

200 - application/json

成功获取空间详情

code
integer
必填

状态码

示例:

200

msg
string
必填

状态描述

result
object

工作空间