Skip to main content
Docflow file upload is an asynchronous interface.
When the interface call is successful, it returns result identifiers (batch_number and file ID) for subsequent result retrieval.
After a successful upload interface request, the response will be returned in JSON format according to the following structure:
{
   "code":200,
   "msg":"成功",
   "result":{
      "batch_number":"1955840540571376304",
      "files":[
         {
            "id":"1955840505753140508",
            "task_id":"1981692246135111680",
            "name":"企业信用报告.pdf",
            "format":"pdf"
         }
      ]
   }
}

Important Field Description

  • batch_number: File batch number. Can be associated with multiple files within the same batch.
  • files[].id: File ID for this upload.
  • files[].task_id: Task ID for identifying file processing tasks.
Both batch_number, files[].id and files[].task_id can be used as query conditions for subsequent result retrieval.