Skip to main content
POST
/
api
/
app-api
/
sip
/
platform
/
v2
/
review
/
task
/
submit
Submit Review Task
curl --request POST \
  --url https://docflow.textin.com/api/app-api/sip/platform/v2/review/task/submit \
  --header 'Content-Type: application/json' \
  --header 'x-ti-app-id: <api-key>' \
  --header 'x-ti-secret-code: <api-key>' \
  --data '
{
  "workspace_id": "1234567890",
  "name": "Review Task 1",
  "repo_id": "31415926",
  "extract_task_ids": [
    "1234567890"
  ],
  "batch_number": "1234567890"
}
'
{
  "code": 200,
  "msg": "<string>",
  "result": {
    "task_id": "31415926"
  }
}

Authorizations

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

Body

application/json
workspace_id
string
required

Workspace ID

Example:

"1234567890"

name
string
required

Task name

Maximum string length: 100
Example:

"Review Task 1"

repo_id
string
required

Review rule repository ID

Example:

"31415926"

extract_task_ids
string[]

Extraction task ID

batch_number
string

Batch number

Example:

"1234567890"

Response

200 - application/json

Successfully submitted review task

code
integer
required

Status code

Example:

200

msg
string
required

Status description

result
object