メインコンテンツへスキップ
POST
/
api
/
app-api
/
sip
/
platform
/
v2
/
workspace
/
create
ワークスペースを作成
curl --request POST \
  --url https://docflow.textin.com/api/app-api/sip/platform/v2/workspace/create \
  --header 'Content-Type: application/json' \
  --header 'x-ti-app-id: <api-key>' \
  --header 'x-ti-secret-code: <api-key>' \
  --data '
{
  "name": "My ワークスペース",
  "enterprise_id": 12345,
  "auth_scope": 1,
  "description": "請求書処理用のワークスペースです"
}
'
{
  "code": 200,
  "msg": "<string>",
  "result": {
    "workspace_id": "1234567890"
  }
}

承認

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

ボディ

application/json
name
string
必須

ワークスペース名

Maximum string length: 50
:

"My ワークスペース"

enterprise_id
integer<int64>
必須

エンタープライズ組織 ID

:

12345

auth_scope
enum<integer>
必須

共同利用範囲 0: 自分のみ表示 1: エンタープライズメンバーに表示

利用可能なオプション:
0,
1
:

1

description
string

ワークスペースの説明

Maximum string length: 200
:

"請求書処理用のワークスペースです"

レスポンス

200 - application/json

ワークスペースの作成に成功

code
integer
必須

ステータスコード

:

200

msg
string
必須

ステータス説明

result
object