Upload single file
POST {{baseUrl}}/workflows/upload?projectId={{projectId}}&isAsync=true&isTraining=false&uploadUser=smartdocs@bglcorp.com.au
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
projectId | string | ||
isAsync | boolean | ||
isTraining | boolean | ||
uploadUser | string | ||
uploadSource | null | ||
thirdPartyGroup1 | null | ||
thirdPartyGroup2 | null | ||
thirdPartyGroup3 | null | ||
labelIds | null | ||
labelNames | null |
Request Body
[{"name"=>"user_file", "value"=>nil, "datatype"=>"null"}]
RESPONSES
status: OK
{"id":"6c20aa50-70c5-432c-b727-86eff5200dc1","status":"FILE_RECEIVED","expires":1707178181,"fileKey":"2024/02/05/Sample - Original_6c20aa50-70c5-432c-b727-86eff5200dc1","fileId":"2024-02-05T00:09:40.233Z_6c20aa50-70c5-432c-b727-86eff5200dc1"}