Skip to main content
POST
/
api
/
app-api
/
sip
/
platform
/
v2
/
workspace
/
create
Create Workspace
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 Workspace",
  "enterprise_id": 12345,
  "auth_scope": 1,
  "description": "This is a workspace for processing invoices"
}
'
{
  "code": 200,
  "msg": "<string>",
  "result": {
    "workspace_id": "1234567890"
  }
}

Authorizations

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

Body

application/json
name
string
required

Workspace name

Maximum string length: 50
Example:

"My Workspace"

enterprise_id
integer<int64>
required

Enterprise organization ID

Example:

12345

auth_scope
enum<integer>
required

Auth scope 0: Visible only to me 1: Visible to enterprise members

Available options:
0,
1
Example:

1

description
string

Workspace description

Maximum string length: 200
Example:

"This is a workspace for processing invoices"

Response

200 - application/json

Successfully created workspace

code
integer
required

Status code

Example:

200

msg
string
required

Status description

result
object